5 * Provides hook implementations for testing purposes.
8 use Drupal\taxonomy\VocabularyInterface;
11 * Implements hook_ENTITY_TYPE_presave() for taxonomy_vocabulary entities.
13 function taxonomy_crud_taxonomy_vocabulary_presave(VocabularyInterface $vocabulary) {
14 $vocabulary->setThirdPartySetting('taxonomy_crud', 'foo', 'bar');