📅  最后修改于: 2022-03-11 14:54:37.396000             🧑  作者: Mango
$terms = \Drupal::entityTypeManager()->getStorage('taxonomy_term')->loadByProperties([
'vid' => 'vocabulary__machine_name'
]);