function field_test_entity_query_tag__entity_query_alter_tag_test_alter

Same name in other branches
  1. 11.x core/modules/field/tests/modules/field_test/field_test.module \field_test_entity_query_tag__entity_query_alter_tag_test_alter()

Implements hook_entity_query_tag__TAG_alter() for 'entity_query_alter_tag_test'.

See also

Drupal\KernelTests\Core\Entity\EntityQueryTest::testAlterHook

File

core/modules/field/tests/modules/field_test/field_test.module, line 263

Code

function field_test_entity_query_tag__entity_query_alter_tag_test_alter(QueryInterface $query) : void {
    $query->condition('id', '13', '<>');
}

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