Answers for "drupal 8 get taxonomy terms by vocabulary name"

PHP
1

drupal 8 get taxonomy terms by vocabulary name

$terms = \Drupal::entityTypeManager()->getStorage('taxonomy_term')->loadByProperties([
  'vid' => 'vocabulary__machine_name'
]);
Posted by: Guest on September-22-2020

Code answers related to "drupal 8 get taxonomy terms by vocabulary name"

Browse Popular Code Answers by Language