📜  drupal 8 get taxonomy paretn - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:04.033000             🧑  作者: Mango

代码示例1
$parents = \Drupal::service('entity_type.manager')->getStorage("taxonomy_term")->loadAllParents($tid)