Commit 257ae98f authored by webchick's avatar webchick
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
......@@ -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().
*/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment