Answers for "taxonomy_get_parents drupal 8"

PHP
0

taxonomy_get_parents drupal 8

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

$parents = $storage ->loadParents($term->id());
Posted by: Guest on January-12-2021

Browse Popular Code Answers by Language