function config_test_entity_query_tag__config_query_test__config_entity_query_alter_hook_test_alter

Same name in other branches
  1. 11.x core/modules/config/tests/config_test/config_test.module \config_test_entity_query_tag__config_query_test__config_entity_query_alter_hook_test_alter()

Implements hook_entity_query_tag__ENTITY_TYPE__TAG_alter().

Entity type is 'config_query_test' and tag is 'config_entity_query_alter_hook_test'.

See also

Drupal\KernelTests\Core\Entity\ConfigEntityQueryTest::testAlterHook

File

core/modules/config/tests/config_test/config_test.module, line 59

Code

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

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