function field_test_query_efq_metadata_test_alter
Same name in other branches
- 9 core/modules/field/tests/modules/field_test/field_test.module \field_test_query_efq_metadata_test_alter()
- 10 core/modules/field/tests/modules/field_test/field_test.module \field_test_query_efq_metadata_test_alter()
- 11.x core/modules/field/tests/modules/field_test/field_test.module \field_test_query_efq_metadata_test_alter()
Implements hook_query_TAG_alter() for tag 'efq_metadata_test'.
See also
\Drupal\system\Tests\Entity\EntityQueryTest::testMetaData()
File
-
core/
modules/ field/ tests/ modules/ field_test/ field_test.module, line 172
Code
function field_test_query_efq_metadata_test_alter(&$query) {
global $efq_test_metadata;
$efq_test_metadata = $query->getMetadata('foo');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.