-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathding_base.pages_default.inc
More file actions
91 lines (88 loc) · 2.47 KB
/
ding_base.pages_default.inc
File metadata and controls
91 lines (88 loc) · 2.47 KB
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
<?php
/**
* @file
* ding_base.pages_default.inc
*/
/**
* Implements hook_default_page_manager_handlers().
*/
function ding_base_default_page_manager_handlers() {
$export = array();
$handler = new stdClass();
$handler->disabled = FALSE; /* Edit this to true to make a default handler disabled initially */
$handler->api_version = 1;
$handler->name = 'node_view_panel_default_pages';
$handler->task = 'node_view';
$handler->subtask = '';
$handler->handler = 'panel_context';
$handler->weight = 50;
$handler->conf = array(
'title' => 'Default pages',
'no_blocks' => 0,
'pipeline' => 'standard',
'body_classes_to_remove' => '',
'body_classes_to_add' => '',
'css_id' => '',
'css' => '',
'contexts' => array(),
'relationships' => array(),
);
$display = new panels_display();
$display->layout = '25_50_25';
$display->layout_settings = array();
$display->panel_settings = array(
'style_settings' => array(
'default' => NULL,
'left_sidebar' => NULL,
'main_content' => NULL,
'right_sidebar' => NULL,
'attachment_4_1' => NULL,
'attachment_4_2' => NULL,
'attachment_4_3' => NULL,
'attachment_4_4' => NULL,
'attachment_3_1' => NULL,
'attachment_3_2' => NULL,
'attachment_3_3' => NULL,
'attachment_2_1' => NULL,
'attachment_2_2' => NULL,
'attachment_1_1' => NULL,
),
);
$display->cache = array();
$display->title = '';
$display->content = array();
$display->panels = array();
$pane = new stdClass();
$pane->pid = 'new-1';
$pane->panel = 'main_content';
$pane->type = 'node_content';
$pane->subtype = 'node_content';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'links' => 1,
'no_extras' => 0,
'override_title' => 0,
'override_title_text' => '',
'identifier' => '',
'link' => 0,
'leave_node_title' => 0,
'build_mode' => 'full',
'context' => 'argument_entity_id:node_1',
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array();
$pane->extras = array();
$pane->position = 0;
$pane->locks = array();
$display->content['new-1'] = $pane;
$display->panels['main_content'][0] = 'new-1';
$display->hide_title = PANELS_TITLE_NONE;
$display->title_pane = 'new-1';
$handler->conf['display'] = $display;
$export['node_view_panel_default_pages'] = $handler;
return $export;
}