TermStorage::$ancestors

Same name in other branches
  1. 9 core/modules/taxonomy/src/TermStorage.php \Drupal\taxonomy\TermStorage::ancestors
  2. 8.9.x core/modules/taxonomy/src/TermStorage.php \Drupal\taxonomy\TermStorage::ancestors
  3. 11.x core/modules/taxonomy/src/TermStorage.php \Drupal\taxonomy\TermStorage::ancestors

Term ancestry keyed by ancestor term ID, keyed by term ID.

Type: \Drupal\taxonomy\TermInterface[][]

File

core/modules/taxonomy/src/TermStorage.php, line 47

Class

TermStorage
Defines a Controller class for taxonomy terms.

Namespace

Drupal\taxonomy

Code

protected $ancestors;

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