1 field_test.module field_test_entity_query_alter(&$query)

Implements hook_entity_query_alter().

File

core/modules/field/tests/field_test/field_test.module, line 188
Helper module for the Field API tests.

Code

function field_test_entity_query_alter(&$query) {
  if (!empty($query->alterMyExecuteCallbackPlease)) {
    $query->executeCallback = 'field_test_dummy_field_storage_query';
  }
}