function menu_node_node_update in Menu Node API 7
Implements hook_node_update().
It is possible that a node save does not trigger a menu change, and other module may wish to be informed that the node data has been updated. So do so here.
File
- ./
menu_node.module, line 72 - Menu Node API Manages relationships between the {node} and {menu_links} table.
Code
function menu_node_node_update($node) {
if (!empty($node->menu_node_links)) {
foreach ($node->menu_node_links as $link) {
_menu_node_invoke($node, $link, 'update');
}
}
}