function hook_taxonomy_menu_save in Taxonomy menu 7.2
Same name and namespace in other branches
- 8 taxonomy_menu.api.php \hook_taxonomy_menu_save()
Allows modules to perform operations after a menu link resulting from the processing of a taxonomy term has been saved.
Parameters
$term: The taxonomy term
$menu_link: The menu link that has been saved.
$mlid: The identifier of the newly created menu item.
1 function implements hook_taxonomy_menu_save()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- taxonomy_menu_taxonomy_menu_save in ./
taxonomy_menu.module - Implements hook_taxonomy_menu_save().
1 invocation of hook_taxonomy_menu_save()
- taxonomy_menu_menu_link_save in ./
taxonomy_menu.module - Saves a menu link in a menu, based on a taxonomy term.
File
- ./
taxonomy_menu.api.php, line 37 - This file contains no working PHP code; it exists to document hooks in the standard Drupal manner.
Code
function hook_taxonomy_menu_save($term, $menu_link, $mlid) {
// For example, we could process all the translated taxonomy terms of this
// term here, in order to save their respective translated menu links.
}