function panels_landing_page_new_page in Panels 7.3
Same name and namespace in other branches
- 6.3 plugins/page_wizards/landing_page.inc \panels_landing_page_new_page()
Provide defaults for a new cache.
The cache will store all our temporary data; it isn't really a page in itself, but it does contain everything we need to make one at the end.
1 string reference to 'panels_landing_page_new_page'
- landing_page.inc in plugins/
page_wizards/ landing_page.inc
File
- plugins/
page_wizards/ landing_page.inc, line 49
Code
function panels_landing_page_new_page(&$cache) {
$cache->name = '';
$cache->admin_title = '';
$cache->admin_description = '';
$cache->path = '';
$cache->menu_entry = FALSE;
$cache->menu = array(
'type' => 'none',
'title' => '',
'weight' => 0,
'name' => 'navigation',
'parent' => array(
'type' => 'none',
'title' => '',
'weight' => 0,
'name' => 'navigation',
),
);
$cache->display = panels_new_display();
$cache->display->layout = 'flexible';
$cache->display->storage_type = 'page_manager';
$cache->display->storage_id = 'new';
}