Return the taxonomy vocabulary entity matching a vocabulary ID.
int $vid: The vocabulary's ID.
Drupal\taxonomy\Plugin\Core\Entity\Vocabulary|false The taxonomy vocabulary entity, if exists, FALSE otherwise. Results are statically cached.
taxonomy_vocabulary_machine_name_load()
function taxonomy_vocabulary_load($vid) {
return entity_load('taxonomy_vocabulary', $vid);
}