1 taxonomy.module taxonomy_vocabulary_machine_name_load($machine_name)

Legacy wrapper to return the parents of a term by TID.

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 1228
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);
}