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) {
$status = $vocabulary->synonyms ? TRUE : FALSE;
if ($vocabulary->synonyms) {
variable_set('taxonomy_' . $vocabulary->vid . '_synonyms', $status);
}
}