1 taxonomy.module taxonomy_vocabulary_machine_name_load($machine_name)

Legacy wrapper to return the vocabulary object matching a machine name.

This function is no longer necessary, as all vocabularies are always loaded by machine name. Simply call taxonomy_vocabulary_load() directly.

Deprecated

since 1.0.0

See also

taxonomy_vocabulary_load()

File

core/modules/taxonomy/taxonomy.module, line 1281
Enables the organization of content into categories.

Code

function taxonomy_vocabulary_machine_name_load($machine_name) {
  watchdog_deprecated_function('taxonomy', __FUNCTION__);
  return taxonomy_vocabulary_load($machine_name);
}