Skip to content
Snippets Groups Projects
Commit 257ae98f authored by Angie Byron's avatar Angie Byron
Browse files

Issue #1919016 by dawehner, Berdir: Remove term_access() tag in...

Issue #1919016 by dawehner, Berdir: Remove term_access() tag in TermStorageController::buildQuery().
parent 1a620291
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -320,8 +320,7 @@ protected function buildPropertyQuery(QueryInterface $entity_query, array $value
* being loaded needs to be augmented with additional data from another
* table, such as loading node type into comments or vocabulary machine name
* into terms, however it can also support $conditions on different tables.
* See Drupal\comment\CommentStorageController::buildQuery() or
* Drupal\taxonomy\TermStorageController::buildQuery() for examples.
* See Drupal\comment\CommentStorageController::buildQuery() for an example.
*
* @param array|null $ids
* An array of entity IDs, or NULL to load all entities.
......
......@@ -32,15 +32,6 @@ public function create(array $values) {
return $entity;
}
/**
* Overrides Drupal\Core\Entity\DatabaseStorageController::buildQuery().
*/
protected function buildQuery($ids, $revision_id = FALSE) {
$query = parent::buildQuery($ids, $revision_id);
$query->addTag('term_access');
return $query;
}
/**
* Overrides Drupal\Core\Entity\DatabaseStorageController::buildPropertyQuery().
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment