class TaxonomyCrudHooks
Same name and namespace in other branches
- 11.x core/modules/taxonomy/tests/modules/taxonomy_crud/src/Hook/TaxonomyCrudHooks.php \Drupal\taxonomy_crud\Hook\TaxonomyCrudHooks
Hook implementations for taxonomy_crud.
Hierarchy
- class \Drupal\taxonomy_crud\Hook\TaxonomyCrudHooks
Expanded class hierarchy of TaxonomyCrudHooks
File
-
core/
modules/ taxonomy/ tests/ modules/ taxonomy_crud/ src/ Hook/ TaxonomyCrudHooks.php, line 13
Namespace
Drupal\taxonomy_crud\HookView source
class TaxonomyCrudHooks {
/**
* Implements hook_ENTITY_TYPE_presave() for taxonomy_vocabulary entities.
*/
public function taxonomyVocabularyPresave(VocabularyInterface $vocabulary) : void {
$vocabulary->setThirdPartySetting('taxonomy_crud', 'foo', 'bar');
}
}
Members
| Title Sort descending | Modifiers | Object type | Summary |
|---|---|---|---|
| TaxonomyCrudHooks::taxonomyVocabularyPresave | public | function | Implements hook_ENTITY_TYPE_presave() for taxonomy_vocabulary entities. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.