📜  drupal 8 按词汇名称获取分类术语 - PHP 代码示例

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

代码示例1
$terms = \Drupal::entityTypeManager()->getStorage('taxonomy_term')->loadByProperties([
  'vid' => 'vocabulary__machine_name'
]);