hook_taxonomy_vocabulary_presave
function hook_taxonomy_vocabulary_presave
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.
Parameters
$vocabulary: A taxonomy vocabulary object.
Related topics
File
- modules/taxonomy/taxonomy.api.php, line 41
- Hooks provided by the Taxonomy module.
Code
function hook_taxonomy_vocabulary_presave($vocabulary) { $vocabulary->foo = 'bar'; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!taxonomy!taxonomy.api.php/function/hook_taxonomy_vocabulary_presave/7.x