You are here

protected property TermStorage::$ancestors in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/taxonomy/src/TermStorage.php \Drupal\taxonomy\TermStorage::ancestors
  2. 9 core/modules/taxonomy/src/TermStorage.php \Drupal\taxonomy\TermStorage::ancestors

Array of all loaded term ancestry keyed by ancestor term ID, keyed by term ID.

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

File

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

Class

TermStorage
Defines a Controller class for taxonomy terms.

Namespace

Drupal\taxonomy

Code

protected $ancestors;