Drupal 8 Obtenha termos de taxonomia por nome do vocabulário

$terms = \Drupal::entityTypeManager()->getStorage('taxonomy_term')->loadByProperties([
  'vid' => 'vocabulary__machine_name'
]);
Gleaming Gannet