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

8.0.x
webchick 2013-03-26 21:53:58 -07:00
parent 1a62029115
commit 257ae98f65
2 changed files with 1 additions and 11 deletions

View File

@ -320,8 +320,7 @@ class DatabaseStorageController implements EntityStorageControllerInterface {
* 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.

View File

@ -32,15 +32,6 @@ class TermStorageController extends DatabaseStorageController {
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().
*/