taxonomy_crud.module in Zircon Profile 8
Same filename and directory in other branches
Provides hook implementations for testing purposes.
File
core/modules/taxonomy/tests/modules/taxonomy_crud/taxonomy_crud.moduleView source
<?php
/**
* @file
* Provides hook implementations for testing purposes.
*/
/**
* Implements hook_ENTITY_TYPE_presave() for taxonomy_vocabulary entities.
*/
function taxonomy_crud_taxonomy_vocabulary_presave(\Drupal\taxonomy\VocabularyInterface $vocabulary) {
$vocabulary
->setThirdPartySetting('taxonomy_crud', 'foo', 'bar');
}
Functions
Name | Description |
---|---|
taxonomy_crud_taxonomy_vocabulary_presave | Implements hook_ENTITY_TYPE_presave() for taxonomy_vocabulary entities. |