function FieldTestHooks::entityQueryTagEntityTestMulrevEntityQueryEntityTestMulrevAlterTagTestAlter

Same name and namespace in other branches
  1. 11.x core/modules/field/tests/modules/field_test/src/Hook/FieldTestHooks.php \Drupal\field_test\Hook\FieldTestHooks::entityQueryTagEntityTestMulrevEntityQueryEntityTestMulrevAlterTagTestAlter()

Implements hook_entity_query_tag__ENTITY_TYPE__TAG_alter().

Entity type is 'entity_test_mulrev' and tag is 'entity_query_entity_test_mulrev_alter_tag_test'.

Attributes

#[Hook('entity_query_tag__entity_test_mulrev__entity_query_entity_test_mulrev_alter_tag_test_alter')]

See also

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

File

core/modules/field/tests/modules/field_test/src/Hook/FieldTestHooks.php, line 184

Class

FieldTestHooks
Hook implementations for field_test.

Namespace

Drupal\field_test\Hook

Code

public function entityQueryTagEntityTestMulrevEntityQueryEntityTestMulrevAlterTagTestAlter(QueryInterface $query) : void {
  $query->condition('id', '15', '<>');
}

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