function panels_page_create_menu_structure in Panels 6.2
1 call to panels_page_create_menu_structure()
- _panels_page_menu_alter in panels_page/
panels_page.menu.inc - Workhorse function for hook_menu_alter(); separated out here to reduce code weight.
File
- panels_page/
panels_page.menu.inc, line 160 - panels_page.menu.inc
Code
function panels_page_create_menu_structure($new_items = NULL) {
static $items = array();
// The first time through, we _always_ construct the menu tree.
if (empty($items)) {
$items = _panels_page_create_menu_structure();
}
if (!is_null($new_items)) {
$items = $new_items;
}
return $items;
}