Get taxonomy terms of a vocabulary - Drupal 8 By editor, 17 November, 2015 Question How to get the taxonomy terms list of a selectes vocabulary ? Using entityQuery, you can get the taxonomy terms of a particular vocabulary. $query = \Drupal::entityQuery('taxonomy_term'); $query->condition('vid', "tags"); $tids = $query->execute(); $terms = \Drupal\taxonomy\Entity\Term::loadMultiple($tids); If you want to get several vocabulary, use OR condition like that. $query_or->condition('vid', "tags"); $query_or->condition('vid', "test"); $query->condition($query_or); Get Taxonomy name $name = $term->toLink()->getText(); Create link to the term $link = \Drupal::l($term->toLink()->getText(), $term->toUrl()); NOTE : I don't know it is the best way, but it's working Tags Drupal 8 Code Taxonomy Add new comment