function taxonomy_menu_taxonomy_term_update in Zircon Profile 8.0
Same name and namespace in other branches
- 8 modules/taxonomy_menu/taxonomy_menu.module \taxonomy_menu_taxonomy_term_update()
Implements hook_entity_update().
Check for taxonomy term updates.
File
- modules/
taxonomy_menu/ taxonomy_menu.module, line 32 - Contains taxonomy_menu.module.
Code
function taxonomy_menu_taxonomy_term_update(Drupal\Core\Entity\EntityInterface $entity) {
\Drupal::service('taxonomy_menu.helper')
->updateTaxonomyMenuEntries($entity, FALSE);
}