You are here

function multiple_node_menu_nodeapi in Multiple Node Menu 6

Implementation of hook_nodeapi()

File

./multiple_node_menu.module, line 99

Code

function multiple_node_menu_nodeapi(&$node, $op, $arg1, $arg2) {
  switch ($op) {
    case 'insert':
    case 'update':
      if (!empty($node->menu_links)) {
        _multiple_node_menu_submit($node);
      }
      break;
  }
}