popsu_projets_europe.pages_default.inc 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  1. <?php
  2. /**
  3. * @file
  4. * popsu_projets_europe.pages_default.inc
  5. */
  6. /**
  7. * Implements hook_default_page_manager_handlers().
  8. */
  9. function popsu_projets_europe_default_page_manager_handlers() {
  10. $export = array();
  11. $handler = new stdClass();
  12. $handler->disabled = FALSE; /* Edit this to true to make a default handler disabled initially */
  13. $handler->api_version = 1;
  14. $handler->name = 'node_view_panel_context_10';
  15. $handler->task = 'node_view';
  16. $handler->subtask = '';
  17. $handler->handler = 'panel_context';
  18. $handler->weight = 9;
  19. $handler->conf = array(
  20. 'title' => 'Projet Europe (feature)',
  21. 'no_blocks' => 0,
  22. 'pipeline' => 'standard',
  23. 'body_classes_to_remove' => '',
  24. 'body_classes_to_add' => 'panel-ville-europe panel-projet-ville-europe',
  25. 'css_id' => '',
  26. 'css' => '',
  27. 'contexts' => array(),
  28. 'relationships' => array(
  29. 0 => array(
  30. 'identifier' => 'Nœud from Nœud (on Nœud: Thème [field_popsu_projeteur_theme])',
  31. 'keyword' => 'node_2',
  32. 'name' => 'entity_from_field:field_popsu_projeteur_theme-node-node',
  33. 'delta' => 0,
  34. 'context' => 'argument_entity_id:node_1',
  35. 'id' => 1,
  36. ),
  37. 1 => array(
  38. 'identifier' => 'Terme de taxonomie from Nœud (on Nœud: Ville [field_popsu_projeteur_ville])',
  39. 'keyword' => 'taxonomy_term',
  40. 'name' => 'entity_from_field:field_popsu_projeteur_ville-node-taxonomy_term',
  41. 'delta' => 0,
  42. 'context' => 'argument_entity_id:node_1',
  43. 'id' => 1,
  44. ),
  45. ),
  46. 'access' => array(
  47. 'plugins' => array(
  48. 0 => array(
  49. 'name' => 'node_type',
  50. 'settings' => array(
  51. 'type' => array(
  52. 'popsu_projet_europe' => 'popsu_projet_europe',
  53. ),
  54. ),
  55. 'context' => 'argument_entity_id:node_1',
  56. 'not' => FALSE,
  57. ),
  58. ),
  59. 'logic' => 'and',
  60. ),
  61. );
  62. $display = new panels_display();
  63. $display->layout = 'flexible:popsu_74_36_stacked';
  64. $display->layout_settings = array();
  65. $display->panel_settings = array(
  66. 'style_settings' => array(
  67. 'default' => NULL,
  68. 'top' => NULL,
  69. 'left' => NULL,
  70. 'right' => NULL,
  71. 'bottom' => NULL,
  72. 'header' => NULL,
  73. 'footer' => NULL,
  74. ),
  75. );
  76. $display->cache = array();
  77. $display->title = '%node:field_popsu_projeteur_ville';
  78. $display->content = array();
  79. $display->panels = array();
  80. $pane = new stdClass();
  81. $pane->pid = 'new-1';
  82. $pane->panel = 'footer';
  83. $pane->type = 'node_content';
  84. $pane->subtype = 'node_content';
  85. $pane->shown = FALSE;
  86. $pane->access = array();
  87. $pane->configuration = array(
  88. 'links' => 0,
  89. 'no_extras' => 0,
  90. 'override_title' => 0,
  91. 'override_title_text' => '',
  92. 'identifier' => '',
  93. 'link' => 0,
  94. 'leave_node_title' => 0,
  95. 'build_mode' => 'full',
  96. 'context' => 'argument_entity_id:node_1',
  97. );
  98. $pane->cache = array();
  99. $pane->style = array(
  100. 'settings' => NULL,
  101. );
  102. $pane->css = array();
  103. $pane->extras = array();
  104. $pane->position = 0;
  105. $pane->locks = array();
  106. $display->content['new-1'] = $pane;
  107. $display->panels['footer'][0] = 'new-1';
  108. $pane = new stdClass();
  109. $pane->pid = 'new-2';
  110. $pane->panel = 'left';
  111. $pane->type = 'views_panes';
  112. $pane->subtype = 'projets_europe-panel_pane_4';
  113. $pane->shown = TRUE;
  114. $pane->access = array();
  115. $pane->configuration = array(
  116. 'arguments' => array(
  117. 'nid' => '%node:nid',
  118. ),
  119. );
  120. $pane->cache = array();
  121. $pane->style = array(
  122. 'settings' => NULL,
  123. );
  124. $pane->css = array();
  125. $pane->extras = array();
  126. $pane->position = 0;
  127. $pane->locks = array();
  128. $display->content['new-2'] = $pane;
  129. $display->panels['left'][0] = 'new-2';
  130. $pane = new stdClass();
  131. $pane->pid = 'new-3';
  132. $pane->panel = 'left';
  133. $pane->type = 'entity_field';
  134. $pane->subtype = 'node:field_popsu_projeteur_body';
  135. $pane->shown = TRUE;
  136. $pane->access = array();
  137. $pane->configuration = array(
  138. 'label' => 'title',
  139. 'formatter' => 'text_default',
  140. 'delta_limit' => 0,
  141. 'delta_offset' => '0',
  142. 'delta_reversed' => FALSE,
  143. 'formatter_settings' => array(),
  144. 'context' => 'argument_entity_id:node_1',
  145. 'override_title' => 1,
  146. 'override_title_text' => '<none>',
  147. );
  148. $pane->cache = array();
  149. $pane->style = array(
  150. 'settings' => NULL,
  151. );
  152. $pane->css = array(
  153. 'css_id' => '',
  154. 'css_class' => 'layout-88p',
  155. );
  156. $pane->extras = array();
  157. $pane->position = 1;
  158. $pane->locks = array();
  159. $display->content['new-3'] = $pane;
  160. $display->panels['left'][1] = 'new-3';
  161. $pane = new stdClass();
  162. $pane->pid = 'new-4';
  163. $pane->panel = 'right';
  164. $pane->type = 'node_links';
  165. $pane->subtype = 'node_links';
  166. $pane->shown = TRUE;
  167. $pane->access = array(
  168. 'plugins' => array(
  169. 0 => array(
  170. 'name' => 'role',
  171. 'settings' => array(
  172. 'rids' => array(
  173. 0 => 3,
  174. 1 => 4,
  175. 2 => 5,
  176. ),
  177. ),
  178. 'context' => 'logged-in-user',
  179. 'not' => FALSE,
  180. ),
  181. ),
  182. );
  183. $pane->configuration = array(
  184. 'override_title' => 1,
  185. 'override_title_text' => '<none>',
  186. 'build_mode' => 'full',
  187. 'identifier' => '',
  188. 'link' => 0,
  189. 'context' => 'argument_entity_id:node_1',
  190. );
  191. $pane->cache = array();
  192. $pane->style = array(
  193. 'settings' => NULL,
  194. );
  195. $pane->css = array(
  196. 'css_id' => '',
  197. 'css_class' => 'admin-add-item admin-add-item-panel',
  198. );
  199. $pane->extras = array();
  200. $pane->position = 0;
  201. $pane->locks = array();
  202. $display->content['new-4'] = $pane;
  203. $display->panels['right'][0] = 'new-4';
  204. $pane = new stdClass();
  205. $pane->pid = 'new-5';
  206. $pane->panel = 'right';
  207. $pane->type = 'views_panes';
  208. $pane->subtype = 'documents-panel_pane_2';
  209. $pane->shown = TRUE;
  210. $pane->access = array();
  211. $pane->configuration = array(
  212. 'arguments' => array(
  213. 'field_popsu_doc_parent_nid' => '%node:nid',
  214. 'field_popsu_doc_type_tid' => '52',
  215. ),
  216. );
  217. $pane->cache = array();
  218. $pane->style = array(
  219. 'settings' => NULL,
  220. );
  221. $pane->css = array(
  222. 'css_id' => '',
  223. 'css_class' => 'accordion-h2 accordion-h2-panel',
  224. );
  225. $pane->extras = array();
  226. $pane->position = 1;
  227. $pane->locks = array();
  228. $display->content['new-5'] = $pane;
  229. $display->panels['right'][1] = 'new-5';
  230. $pane = new stdClass();
  231. $pane->pid = 'new-6';
  232. $pane->panel = 'top';
  233. $pane->type = 'views_panes';
  234. $pane->subtype = 'projets_europe-panel_pane_2';
  235. $pane->shown = TRUE;
  236. $pane->access = array();
  237. $pane->configuration = array(
  238. 'arguments' => array(
  239. 'field_popsu_projeteur_ville_tid' => '%taxonomy_term:tid',
  240. ),
  241. );
  242. $pane->cache = array();
  243. $pane->style = array(
  244. 'settings' => NULL,
  245. );
  246. $pane->css = array(
  247. 'css_id' => '',
  248. 'css_class' => 'popsu-europe-liste-projets clearfix',
  249. );
  250. $pane->extras = array();
  251. $pane->position = 0;
  252. $pane->locks = array();
  253. $display->content['new-6'] = $pane;
  254. $display->panels['top'][0] = 'new-6';
  255. $pane = new stdClass();
  256. $pane->pid = 'new-7';
  257. $pane->panel = 'top';
  258. $pane->type = 'entity_field';
  259. $pane->subtype = 'node:field_popsu_projeteur_theme';
  260. $pane->shown = TRUE;
  261. $pane->access = array();
  262. $pane->configuration = array(
  263. 'label' => 'title',
  264. 'formatter' => 'node_reference_plain',
  265. 'delta_limit' => 0,
  266. 'delta_offset' => '0',
  267. 'delta_reversed' => FALSE,
  268. 'formatter_settings' => array(),
  269. 'context' => 'argument_entity_id:node_1',
  270. 'override_title' => 1,
  271. 'override_title_text' => '<none>',
  272. );
  273. $pane->cache = array();
  274. $pane->style = array(
  275. 'settings' => NULL,
  276. );
  277. $pane->css = array(
  278. 'css_id' => '',
  279. 'css_class' => 'page-title-secondary clearfix',
  280. );
  281. $pane->extras = array();
  282. $pane->position = 1;
  283. $pane->locks = array();
  284. $display->content['new-7'] = $pane;
  285. $display->panels['top'][1] = 'new-7';
  286. $display->hide_title = PANELS_TITLE_FIXED;
  287. $display->title_pane = '0';
  288. $handler->conf['display'] = $display;
  289. $export['node_view_panel_context_10'] = $handler;
  290. return $export;
  291. }