function nodesymlinks_menu_item_defaults in NodeSymlinks 6
Returns array of menu item defaults.
Return value
array
2 calls to nodesymlinks_menu_item_defaults()
- nodesymlinks_item_process in ./
nodesymlinks.inc - Load item defaults and process item before is saved
- _nodesymlinks_form_field in ./
nodesymlinks.inc - Helper function to generate custom nodesymlinks form item.
File
- ./
nodesymlinks.inc, line 528
Code
function nodesymlinks_menu_item_defaults() {
static $item_defaults = array(
'link_title' => '',
'mlid' => 0,
'plid' => 0,
'menu_name' => 'navigation',
'weight' => 0,
'options' => array(),
'module' => 'nodesymlinks',
'expanded' => 0,
'hidden' => 0,
'has_children' => 0,
'customized' => 0,
);
return $item_defaults;
}