src/Drupal/functions taxonomy.php

Functions

taxonomy_get_vocabularies()

taxonomy_get_vocabularies() : array

Returns

array —

taxonomy_get_parents()

taxonomy_get_parents(mixed  $tid) : mixed

Parameters

mixed $tid

Returns

mixed —

taxonomy_get_term_by_name()

taxonomy_get_term_by_name(string  $name) : \Drupal\Core\Entity\EntityInterface[]

Parameters

string $name

Returns

\Drupal\Core\Entity\EntityInterface[] —

taxonomy_get_tree()

taxonomy_get_tree(string  $vid, int  $parent = 0, ?int  $max_depth = null, bool  $load_entities = false) : object[]

Parameters

string $vid
int $parent
?int $max_depth
bool $load_entities

Returns

object[] —