| 7 taxonomy.api.php | hook_taxonomy_vocabulary_presave($vocabulary) |
| 8 taxonomy.api.php | hook_taxonomy_vocabulary_presave(TaxonomyVocabulary $vocabulary) |
Act on taxonomy vocabularies before they are saved.
Modules implementing this hook can act on the vocabulary object before it is inserted or updated.
Parameters
$vocabulary: A taxonomy vocabulary object.
Related topics
1 function implements hook_taxonomy_vocabulary_presave()
1 invocation of hook_taxonomy_vocabulary_presave()
File
- modules/
taxonomy/ taxonomy.api.php, line 38 - Hooks provided by the Taxonomy module.
Code
function hook_taxonomy_vocabulary_presave($vocabulary) {
$vocabulary->foo = 'bar';
}
Login or register to post comments