-
Notifications
You must be signed in to change notification settings - Fork 6
/
ting_infomedia.pages_default.inc
95 lines (91 loc) · 2.63 KB
/
ting_infomedia.pages_default.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?php
/**
* @file
* ting_infomedia.pages_default.inc
*/
/**
* Implements hook_default_page_manager_pages().
*/
function ting_infomedia_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 = 'ting_infomedia';
$page->task = 'page';
$page->admin_title = 'ting_infomedia';
$page->admin_description = 'Displays an Infomedia article';
$page->path = 'ting/infomedia/%infomedia';
$page->access = array();
$page->menu = array();
$page->arguments = array(
'infomedia' => array(
'id' => 1,
'identifier' => 'infomedia: ID',
'name' => 'infomedia',
'settings' => 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_ting_infomedia_panel_context';
$handler->task = 'page';
$handler->subtask = 'ting_infomedia';
$handler->handler = 'panel_context';
$handler->weight = 0;
$handler->conf = array(
'title' => 'Infomedia Panel',
'no_blocks' => 0,
'pipeline' => 'standard',
'css_id' => '',
'css' => '',
'contexts' => array(),
'relationships' => array(),
'panels_breadcrumbs_state' => 1,
'panels_breadcrumbs_titles' => 'Infomedia',
'panels_breadcrumbs_paths' => '<none>',
);
$display = new panels_display;
$display->layout = 'threecol_25_50_25';
$display->layout_settings = array();
$display->panel_settings = array(
'style_settings' => array(
'default' => NULL,
'left' => NULL,
'middle' => NULL,
'right' => NULL,
),
);
$display->cache = array();
$display->title = '';
$display->content = array();
$display->panels = array();
$pane = new stdClass;
$pane->pid = 'new-1';
$pane->panel = 'middle';
$pane->type = 'infomedia_content_type';
$pane->subtype = 'infomedia_content_type';
$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;
$display->content['new-1'] = $pane;
$display->panels['middle'][0] = 'new-1';
$display->hide_title = PANELS_TITLE_NONE;
$display->title_pane = 'new-1';
$handler->conf['display'] = $display;
$page->default_handlers[$handler->name] = $handler;
// end exported panel.
$pages['base_page'] = $page;
return $pages;
}