Return the vocabulary object matching a vocabulary machine name.
$name: The vocabulary's machine name.
The vocabulary object with all of its metadata, if exists, FALSE otherwise. Results are statically cached.
function taxonomy_vocabulary_machine_name_load($name) {
$vocabularies = taxonomy_vocabulary_load_multiple(NULL, array(
'machine_name' => $name,
));
return reset($vocabularies);
}