You are here

function field_test_dummy_field_storage_query in Drupal 7

Pseudo-implements hook_field_storage_query().

2 string references to 'field_test_dummy_field_storage_query'
EntityFieldQueryTestCase::testEntityFieldQueryRouting in modules/simpletest/tests/entity_query.test
Tests the routing feature of EntityFieldQuery.
field_test_entity_query_alter in modules/field/tests/field_test.module
Implements hook_entity_query_alter().

File

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

Code

function field_test_dummy_field_storage_query(EntityFieldQuery $query) {

  // Return dummy values that will be checked by the test.
  return array(
    'user' => array(
      1 => entity_create_stub_entity('user', array(
        1,
        NULL,
        NULL,
      )),
    ),
  );
}