| Versions | |
|---|---|
| 7 | hook_taxonomy_vocabulary_presave($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.
$vocabulary A taxonomy vocabulary object.
drupal/
<?php
function hook_taxonomy_vocabulary_presave($vocabulary) {
$vocabulary->foo = 'bar';
}
?>