Act on taxonomy vocabularies when loaded.
Modules implementing this hook can act on the vocabulary objects before they are returned by taxonomy_vocabulary_load_multiple().
array $vocabularies: An array of taxonomy vocabulary entities.
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
function hook_taxonomy_vocabulary_load(array $vocabularies) {
foreach ($vocabularies as $vocabulary) {
$vocabulary->synonyms = variable_get('taxonomy_' . $vocabulary->vid . '_synonyms', FALSE);
}
}