TermStorage::$treeChildren

Array of term ancestors keyed by vocabulary ID and parent term ID. Type: array File core/modules/taxonomy/src/TermStorage.php, line 46 Class TermStorage Defines a Controller class for taxonomy terms. Namespace Drupal\taxonomy Code protected $treeChildren = array();

TermStorage::$parentsAll

Array of all loaded term ancestry keyed by ancestor term ID. Type: array File core/modules/taxonomy/src/TermStorage.php, line 25 Class TermStorage Defines a Controller class for taxonomy terms. Namespace Drupal\taxonomy Code protected $parentsAll = array();

TermStorage::$parents

Array of loaded parents keyed by child term ID. Type: array File core/modules/taxonomy/src/TermStorage.php, line 18 Class TermStorage Defines a Controller class for taxonomy terms. Namespace Drupal\taxonomy Code protected $parents = array();

TermStorage::$children

Array of child terms keyed by parent term ID. Type: array File core/modules/taxonomy/src/TermStorage.php, line 32 Class TermStorage Defines a Controller class for taxonomy terms. Namespace Drupal\taxonomy Code protected $children = array();

TermStorage

Defines a Controller class for taxonomy terms. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityStorageBase implements EntityHandlerInterface, EntityStorageInterfaceclass \Drupal\Core\Entity\ContentEntityStorageBase implements ContentEntityStorageInterface, DynamicallyFieldableEntityStorageInterfaceclass \Drupal\Core\Entity\Sql\SqlContentEntityStorage implements EntityBundleListenerInterface, Dynamical

TermInterface::setWeight

public TermInterface::setWeight($weight) Gets the weight of this term. Parameters int $weight: The term's weight. Return value $this File core/modules/taxonomy/src/TermInterface.php, line 83 Class TermInterface Provides an interface defining a taxonomy term entity. Namespace Drupal\taxonomy Code public function setWeight($weight);

TermInterface::setName

public TermInterface::setName($name) Sets the name of the term. Parameters int $name: The term's name. Return value $this File core/modules/taxonomy/src/TermInterface.php, line 65 Class TermInterface Provides an interface defining a taxonomy term entity. Namespace Drupal\taxonomy Code public function setName($name);

TermInterface::setFormat

public TermInterface::setFormat($format) Sets the text format name for the term's description. Parameters string $format: The term's description text format. Return value $this File core/modules/taxonomy/src/TermInterface.php, line 47 Class TermInterface Provides an interface defining a taxonomy term entity. Namespace Drupal\taxonomy Code public function setFormat($format);

TermInterface::setDescription

public TermInterface::setDescription($description) Sets the term's description. Parameters string $description: The term's description. Return value $this File core/modules/taxonomy/src/TermInterface.php, line 29 Class TermInterface Provides an interface defining a taxonomy term entity. Namespace Drupal\taxonomy Code public function setDescription($description);

TermInterface::getWeight

public TermInterface::getWeight() Gets the weight of this term. Return value int The weight of the term. File core/modules/taxonomy/src/TermInterface.php, line 73 Class TermInterface Provides an interface defining a taxonomy term entity. Namespace Drupal\taxonomy Code public function getWeight();