function field_test_entity_query_alter

Implements hook_entity_query_alter().

File

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

Code

function field_test_entity_query_alter(&$query) {
  if (variable_get('field_test_entity_query_alter_execute_callback', FALSE)) {
    $query->executeCallback = 'field_test_dummy_field_storage_query';
  }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.