Act on taxonomy vocabularies before they are saved.
Modules implementing this hook can act on the vocabulary object before it is inserted or 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_presave(Drupal\taxonomy\Plugin\Core\Entity\Vocabulary $vocabulary) {
$vocabulary->foo = 'bar';
}