Act on taxonomy vocabularies when inserted.
Modules implementing this hook can act on the vocabulary object when saved to the database.
$vocabulary: A taxonomy vocabulary object.
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_insert($vocabulary) {
if ($vocabulary->machine_name == 'my_vocabulary') {
$vocabulary->weight = 100;
}
}