function panopoly_admin_default_page_manager_pages in Panopoly 7
Implements hook_default_page_manager_pages().
File
- modules/
panopoly/ panopoly_admin/ panopoly_admin.pages_default.inc, line 291 - panopoly_admin.pages_default.inc
Code
function panopoly_admin_default_page_manager_pages() {
$page = new stdClass();
$page->disabled = FALSE;
/* Edit this to true to make a default page disabled initially */
$page->api_version = 1;
$page->name = 'panopoly_admin_layout_library';
$page->task = 'page';
$page->admin_title = 'Panopoly Layouts';
$page->admin_description = 'This is the page library that manages page layouts.';
$page->path = 'admin/panopoly/layouts';
$page->access = array(
'plugins' => array(
1 => array(
'name' => 'perm',
'settings' => array(
'perm' => 'access administration pages',
),
'context' => 'logged-in-user',
'not' => FALSE,
),
2 => array(
'name' => 'perm',
'settings' => array(
'perm' => 'administer panels layouts',
),
'context' => 'logged-in-user',
'not' => FALSE,
),
),
'logic' => 'and',
'type' => 'none',
'settings' => NULL,
);
$page->menu = array(
'type' => 'normal',
'title' => 'Panopoly Layouts',
'name' => 'management',
'weight' => '0',
'parent' => array(
'type' => 'normal',
'title' => 'Dashboard',
'name' => 'management',
'weight' => '0',
),
);
$page->arguments = array();
$page->conf = array(
'admin_paths' => FALSE,
);
$page->default_handlers = array();
$handler = new stdClass();
$handler->disabled = FALSE;
/* Edit this to true to make a default handler disabled initially */
$handler->api_version = 1;
$handler->name = 'page_panopoly_admin_layout_library_panel_context';
$handler->task = 'page';
$handler->subtask = 'panopoly_admin_layout_library';
$handler->handler = 'panel_context';
$handler->weight = 0;
$handler->conf = array(
'title' => 'Layout Library',
'no_blocks' => 0,
'pipeline' => 'standard',
'css_id' => 'layout-library',
'css' => '',
'contexts' => array(),
'relationships' => array(),
'body_classes_to_remove' => '',
'body_classes_to_add' => '',
);
$display = new panels_display();
$display->layout = 'radix_boxton';
$display->layout_settings = array();
$display->panel_settings = array(
'style_settings' => array(
'default' => NULL,
'header' => NULL,
'column1' => NULL,
'column2' => NULL,
'footer' => NULL,
'contentmain' => NULL,
'sidebar' => NULL,
),
);
$display->cache = array();
$display->title = 'Layout Library';
$display->uuid = '2a4bbcf3-712e-44e2-9fd8-270a2fd6e47d';
$display->storage_type = 'page_manager';
$display->storage_id = 'page_panopoly_admin_layout_library_panel_context';
$display->content = array();
$display->panels = array();
$pane = new stdClass();
$pane->pid = 'new-c481f523-51bb-40ff-99d3-648dc19100a5';
$pane->panel = 'contentmain';
$pane->type = 'panels_layouts';
$pane->subtype = 'panels_layouts';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array();
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array();
$pane->extras = array();
$pane->position = 0;
$pane->locks = array();
$pane->uuid = 'c481f523-51bb-40ff-99d3-648dc19100a5';
$display->content['new-c481f523-51bb-40ff-99d3-648dc19100a5'] = $pane;
$display->panels['contentmain'][0] = 'new-c481f523-51bb-40ff-99d3-648dc19100a5';
$display->hide_title = PANELS_TITLE_FIXED;
$display->title_pane = '0';
$handler->conf['display'] = $display;
$page->default_handlers[$handler->name] = $handler;
$pages['panopoly_admin_layout_library'] = $page;
$page = new stdClass();
$page->disabled = FALSE;
/* Edit this to true to make a default page disabled initially */
$page->api_version = 1;
$page->name = 'panopoly_admin_page_library';
$page->task = 'page';
$page->admin_title = 'Panopoly Pages';
$page->admin_description = 'This is the page library that manages page templates, landing pages, and overridden pages.';
$page->path = 'admin/panopoly/pages';
$page->access = array(
'plugins' => array(
1 => array(
'name' => 'perm',
'settings' => array(
'perm' => 'access administration pages',
),
'context' => 'logged-in-user',
'not' => FALSE,
),
2 => array(
'name' => 'perm',
'settings' => array(
'perm' => 'use page manager',
),
'context' => 'logged-in-user',
'not' => FALSE,
),
),
'logic' => 'and',
'type' => 'none',
'settings' => NULL,
);
$page->menu = array(
'type' => 'normal',
'title' => 'Panopoly Pages',
'name' => 'management',
'weight' => '0',
'parent' => array(
'type' => 'normal',
'title' => 'Dashboard',
'name' => 'management',
'weight' => '0',
),
);
$page->arguments = array();
$page->conf = array(
'admin_paths' => FALSE,
);
$page->default_handlers = array();
$handler = new stdClass();
$handler->disabled = FALSE;
/* Edit this to true to make a default handler disabled initially */
$handler->api_version = 1;
$handler->name = 'page_panopoly_admin_page_library_panel_context';
$handler->task = 'page';
$handler->subtask = 'panopoly_admin_page_library';
$handler->handler = 'panel_context';
$handler->weight = 0;
$handler->conf = array(
'title' => 'Page Library',
'no_blocks' => 0,
'pipeline' => 'standard',
'css_id' => 'page-library',
'css' => '',
'contexts' => array(),
'relationships' => array(),
'body_classes_to_remove' => '',
'body_classes_to_add' => '',
);
$display = new panels_display();
$display->layout = 'radix_boxton';
$display->layout_settings = array();
$display->panel_settings = array(
'style_settings' => array(
'default' => NULL,
'header' => NULL,
'column1' => NULL,
'column2' => NULL,
'footer' => NULL,
'contentmain' => NULL,
'sidebar' => NULL,
),
);
$display->cache = array();
$display->title = 'Page Library';
$display->uuid = '7f2efae5-50a7-4f07-b1f7-f8edc2dd9326';
$display->storage_type = 'page_manager';
$display->storage_id = 'page_panopoly_admin_page_library_panel_context';
$display->content = array();
$display->panels = array();
$pane = new stdClass();
$pane->pid = 'new-b63313b3-8b80-4161-a97d-78439cda58f9';
$pane->panel = 'contentmain';
$pane->type = 'landing_pages';
$pane->subtype = 'landing_pages';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array();
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array();
$pane->extras = array();
$pane->position = 0;
$pane->locks = array();
$pane->uuid = 'b63313b3-8b80-4161-a97d-78439cda58f9';
$display->content['new-b63313b3-8b80-4161-a97d-78439cda58f9'] = $pane;
$display->panels['contentmain'][0] = 'new-b63313b3-8b80-4161-a97d-78439cda58f9';
$pane = new stdClass();
$pane->pid = 'new-a19a23d5-56e9-48a3-82f2-bbdf49d4b929';
$pane->panel = 'contentmain';
$pane->type = 'overridden_page_templates';
$pane->subtype = 'overridden_page_templates';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array();
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array();
$pane->extras = array();
$pane->position = 1;
$pane->locks = array();
$pane->uuid = 'a19a23d5-56e9-48a3-82f2-bbdf49d4b929';
$display->content['new-a19a23d5-56e9-48a3-82f2-bbdf49d4b929'] = $pane;
$display->panels['contentmain'][1] = 'new-a19a23d5-56e9-48a3-82f2-bbdf49d4b929';
$display->hide_title = PANELS_TITLE_FIXED;
$display->title_pane = '0';
$handler->conf['display'] = $display;
$page->default_handlers[$handler->name] = $handler;
$pages['panopoly_admin_page_library'] = $page;
$page = new stdClass();
$page->disabled = FALSE;
/* Edit this to true to make a default page disabled initially */
$page->api_version = 1;
$page->name = 'panopoly_admin_pane_library';
$page->task = 'page';
$page->admin_title = 'Panopoly Panes';
$page->admin_description = 'This is the pane library for the site. See all of the panes you can add to your pages.';
$page->path = 'admin/panopoly/panes';
$page->access = array(
'plugins' => array(
1 => array(
'name' => 'perm',
'settings' => array(
'perm' => 'access administration pages',
),
'context' => 'logged-in-user',
'not' => FALSE,
),
2 => array(
'name' => 'perm',
'settings' => array(
'perm' => 'administer page manager',
),
'context' => 'logged-in-user',
'not' => FALSE,
),
),
'logic' => 'and',
'type' => 'none',
'settings' => NULL,
);
$page->menu = array(
'type' => 'normal',
'title' => 'Panopoly Panes',
'name' => 'management',
'weight' => '0',
'parent' => array(
'type' => 'normal',
'title' => 'Dashboard',
'name' => 'management',
'weight' => '0',
),
);
$page->arguments = array();
$page->conf = array(
'admin_paths' => FALSE,
);
$page->default_handlers = array();
$handler = new stdClass();
$handler->disabled = FALSE;
/* Edit this to true to make a default handler disabled initially */
$handler->api_version = 1;
$handler->name = 'page_panopoly_admin_pane_library_panel_context';
$handler->task = 'page';
$handler->subtask = 'panopoly_admin_pane_library';
$handler->handler = 'panel_context';
$handler->weight = 0;
$handler->conf = array(
'title' => 'Pane Library',
'no_blocks' => 0,
'pipeline' => 'standard',
'css_id' => 'pane-library',
'css' => '',
'contexts' => array(),
'relationships' => array(),
'body_classes_to_remove' => '',
'body_classes_to_add' => '',
);
$display = new panels_display();
$display->layout = 'radix_boxton';
$display->layout_settings = array();
$display->panel_settings = array(
'style_settings' => array(
'default' => NULL,
'header' => NULL,
'column1' => NULL,
'column2' => NULL,
'footer' => NULL,
'contentmain' => NULL,
'sidebar' => NULL,
),
);
$display->cache = array();
$display->title = 'Pane Library';
$display->uuid = '195ed3e8-b724-48fd-9057-9f5f54aa6a47';
$display->storage_type = 'page_manager';
$display->storage_id = 'page_panopoly_admin_pane_library_panel_context';
$display->content = array();
$display->panels = array();
$pane = new stdClass();
$pane->pid = 'new-ad96a6eb-e0f3-44c3-b4ef-5d359f13c21a';
$pane->panel = 'contentmain';
$pane->type = 'general_panes';
$pane->subtype = 'general_panes';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array();
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array();
$pane->extras = array();
$pane->position = 0;
$pane->locks = array();
$pane->uuid = 'ad96a6eb-e0f3-44c3-b4ef-5d359f13c21a';
$display->content['new-ad96a6eb-e0f3-44c3-b4ef-5d359f13c21a'] = $pane;
$display->panels['contentmain'][0] = 'new-ad96a6eb-e0f3-44c3-b4ef-5d359f13c21a';
$display->hide_title = PANELS_TITLE_FIXED;
$display->title_pane = '0';
$handler->conf['display'] = $display;
$page->default_handlers[$handler->name] = $handler;
$pages['panopoly_admin_pane_library'] = $page;
return $pages;
}