Act on taxonomy vocabularies when updated.
Modules implementing this hook can act on the vocabulary object when updated.
Drupal\taxonomy\Plugin\Core\Entity\Vocabulary $vocabulary: A taxonomy vocabulary entity.
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_update(Drupal\taxonomy\Plugin\Core\Entity\Vocabulary $vocabulary) {
db_insert('mytable')
->fields(array(
'vid' => $vocabulary
->id(),
'foo' => $vocabulary->foo,
))
->execute();
}