Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

taxonomy_get_parents drupal 8

$storage = Drupal::service('entity_type.manager')->getStorage('taxonomy_term');

$parents = $storage ->loadParents($term->id());
 
PREVIOUS NEXT
Tagged: #drupal
ADD COMMENT
Topic
Name
7+1 =