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.
function taxonomy_vocabulary_load($vid) {
return entity_load('taxonomy_vocabulary', $vid);
}