diff --git a/core/modules/taxonomy/src/TermStorage.php b/core/modules/taxonomy/src/TermStorage.php index 1876b72..26fb2d0 100644 --- a/core/modules/taxonomy/src/TermStorage.php +++ b/core/modules/taxonomy/src/TermStorage.php @@ -210,6 +210,7 @@ public function loadTree($vid, $parent = 0, $max_depth = NULL, $load_entities = $query->join('taxonomy_term_hierarchy', 'h', 'h.tid = t.tid'); $result = $query ->addTag('term_access') + ->addTag('term_load_tree') ->fields('t') ->fields('h', array('parent')) ->condition('t.vid', $vid)