Question : drupal 8 get taxonomy terms by vocabulary name
Answered by : gleaming-gannet-htlwomz3dthc
$terms = \Drupal::entityTypeManager()->getStorage('taxonomy_term')->loadByProperties([ 'vid' => 'vocabulary__machine_name'
]);
Source : | Last Update : Tue, 29 Sep 20