You are here

function taxonomy_menu_taxonomy_term_update in Taxonomy menu 8.3

Same name and namespace in other branches
  1. 8 taxonomy_menu.module \taxonomy_menu_taxonomy_term_update()
  2. 7.2 taxonomy_menu.module \taxonomy_menu_taxonomy_term_update()
  3. 7 taxonomy_menu.module \taxonomy_menu_taxonomy_term_update()

Implements hook_entity_update().

Check for taxonomy term updates.

File

./taxonomy_menu.module, line 48
Contains taxonomy_menu.module.

Code

function taxonomy_menu_taxonomy_term_update(EntityInterface $entity) {
  \Drupal::service('taxonomy_menu.helper')
    ->updateTaxonomyMenuEntries($entity, FALSE);
}