You are here

function field_test_entity_query_alter in Drupal 7

Implements hook_entity_query_alter().

File

modules/field/tests/field_test.module, line 188

Code

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