function taxonomy_menu_trails_entity_update in Taxonomy Menu Trails 7
Implements hook_entity_update().
1 call to taxonomy_menu_trails_entity_update()
- taxonomy_menu_trails_entity_insert in ./
taxonomy_menu_trails.module - Implements hook_entity_insert().
File
- ./
taxonomy_menu_trails.module, line 229 - Changes menu trail of current entity to its term's menu item.
Code
function taxonomy_menu_trails_entity_update($entity, $type) {
switch ($type) {
case 'node':
//TODO replace with specific cache entries deleting
menu_cache_clear_all();
break;
}
}