function field_test_dummy_field_storage_query
7.x field_test.module | field_test_dummy_field_storage_query(EntityFieldQuery $query) |
Pseudo-implements hook_field_storage_query().
2 string references to 'field_test_dummy_field_storage_query'
- EntityFieldQueryTestCase::testEntityFieldQueryRouting in drupal-7.x/
modules/ simpletest/ tests/ entity_query.test - Tests the routing feature of EntityFieldQuery.
- field_test_entity_query_alter in drupal-7.x/
modules/ field/ tests/ field_test.module - Implements hook_entity_query_alter().
File
- drupal-7.x/
modules/ field/ tests/ field_test.module, line 197 - Helper module for the Field API tests.
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)),
),
);
}