123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294 |
- <?php
- /**
- * @file
- * popsu_projets_europe.pages_default.inc
- */
- /**
- * Implements hook_default_page_manager_handlers().
- */
- function popsu_projets_europe_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_context_10';
- $handler->task = 'node_view';
- $handler->subtask = '';
- $handler->handler = 'panel_context';
- $handler->weight = 9;
- $handler->conf = array(
- 'title' => 'Projet Europe (feature)',
- 'no_blocks' => 0,
- 'pipeline' => 'standard',
- 'body_classes_to_remove' => '',
- 'body_classes_to_add' => 'panel-ville-europe panel-projet-ville-europe',
- 'css_id' => '',
- 'css' => '',
- 'contexts' => array(),
- 'relationships' => array(
- 0 => array(
- 'identifier' => 'Nœud from Nœud (on Nœud: Thème [field_popsu_projeteur_theme])',
- 'keyword' => 'node_2',
- 'name' => 'entity_from_field:field_popsu_projeteur_theme-node-node',
- 'delta' => 0,
- 'context' => 'argument_entity_id:node_1',
- 'id' => 1,
- ),
- 1 => array(
- 'identifier' => 'Terme de taxonomie from Nœud (on Nœud: Ville [field_popsu_projeteur_ville])',
- 'keyword' => 'taxonomy_term',
- 'name' => 'entity_from_field:field_popsu_projeteur_ville-node-taxonomy_term',
- 'delta' => 0,
- 'context' => 'argument_entity_id:node_1',
- 'id' => 1,
- ),
- ),
- 'access' => array(
- 'plugins' => array(
- 0 => array(
- 'name' => 'node_type',
- 'settings' => array(
- 'type' => array(
- 'popsu_projet_europe' => 'popsu_projet_europe',
- ),
- ),
- 'context' => 'argument_entity_id:node_1',
- 'not' => FALSE,
- ),
- ),
- 'logic' => 'and',
- ),
- );
- $display = new panels_display();
- $display->layout = 'flexible:popsu_74_36_stacked';
- $display->layout_settings = array();
- $display->panel_settings = array(
- 'style_settings' => array(
- 'default' => NULL,
- 'top' => NULL,
- 'left' => NULL,
- 'right' => NULL,
- 'bottom' => NULL,
- 'header' => NULL,
- 'footer' => NULL,
- ),
- );
- $display->cache = array();
- $display->title = '%node:field_popsu_projeteur_ville';
- $display->content = array();
- $display->panels = array();
- $pane = new stdClass();
- $pane->pid = 'new-1';
- $pane->panel = 'footer';
- $pane->type = 'node_content';
- $pane->subtype = 'node_content';
- $pane->shown = FALSE;
- $pane->access = array();
- $pane->configuration = array(
- 'links' => 0,
- '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['footer'][0] = 'new-1';
- $pane = new stdClass();
- $pane->pid = 'new-2';
- $pane->panel = 'left';
- $pane->type = 'views_panes';
- $pane->subtype = 'projets_europe-panel_pane_4';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'arguments' => array(
- 'nid' => '%node:nid',
- ),
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- );
- $pane->css = array();
- $pane->extras = array();
- $pane->position = 0;
- $pane->locks = array();
- $display->content['new-2'] = $pane;
- $display->panels['left'][0] = 'new-2';
- $pane = new stdClass();
- $pane->pid = 'new-3';
- $pane->panel = 'left';
- $pane->type = 'entity_field';
- $pane->subtype = 'node:field_popsu_projeteur_body';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'label' => 'title',
- 'formatter' => 'text_default',
- 'delta_limit' => 0,
- 'delta_offset' => '0',
- 'delta_reversed' => FALSE,
- 'formatter_settings' => array(),
- 'context' => 'argument_entity_id:node_1',
- 'override_title' => 1,
- 'override_title_text' => '<none>',
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- );
- $pane->css = array(
- 'css_id' => '',
- 'css_class' => 'layout-88p',
- );
- $pane->extras = array();
- $pane->position = 1;
- $pane->locks = array();
- $display->content['new-3'] = $pane;
- $display->panels['left'][1] = 'new-3';
- $pane = new stdClass();
- $pane->pid = 'new-4';
- $pane->panel = 'right';
- $pane->type = 'node_links';
- $pane->subtype = 'node_links';
- $pane->shown = TRUE;
- $pane->access = array(
- 'plugins' => array(
- 0 => array(
- 'name' => 'role',
- 'settings' => array(
- 'rids' => array(
- 0 => 3,
- 1 => 4,
- 2 => 5,
- ),
- ),
- 'context' => 'logged-in-user',
- 'not' => FALSE,
- ),
- ),
- );
- $pane->configuration = array(
- 'override_title' => 1,
- 'override_title_text' => '<none>',
- 'build_mode' => 'full',
- 'identifier' => '',
- 'link' => 0,
- 'context' => 'argument_entity_id:node_1',
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- );
- $pane->css = array(
- 'css_id' => '',
- 'css_class' => 'admin-add-item admin-add-item-panel',
- );
- $pane->extras = array();
- $pane->position = 0;
- $pane->locks = array();
- $display->content['new-4'] = $pane;
- $display->panels['right'][0] = 'new-4';
- $pane = new stdClass();
- $pane->pid = 'new-5';
- $pane->panel = 'right';
- $pane->type = 'views_panes';
- $pane->subtype = 'documents-panel_pane_2';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'arguments' => array(
- 'field_popsu_doc_parent_nid' => '%node:nid',
- 'field_popsu_doc_type_tid' => '52',
- ),
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- );
- $pane->css = array(
- 'css_id' => '',
- 'css_class' => 'accordion-h2 accordion-h2-panel',
- );
- $pane->extras = array();
- $pane->position = 1;
- $pane->locks = array();
- $display->content['new-5'] = $pane;
- $display->panels['right'][1] = 'new-5';
- $pane = new stdClass();
- $pane->pid = 'new-6';
- $pane->panel = 'top';
- $pane->type = 'views_panes';
- $pane->subtype = 'projets_europe-panel_pane_2';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'arguments' => array(
- 'field_popsu_projeteur_ville_tid' => '%taxonomy_term:tid',
- ),
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- );
- $pane->css = array(
- 'css_id' => '',
- 'css_class' => 'popsu-europe-liste-projets clearfix',
- );
- $pane->extras = array();
- $pane->position = 0;
- $pane->locks = array();
- $display->content['new-6'] = $pane;
- $display->panels['top'][0] = 'new-6';
- $pane = new stdClass();
- $pane->pid = 'new-7';
- $pane->panel = 'top';
- $pane->type = 'entity_field';
- $pane->subtype = 'node:field_popsu_projeteur_theme';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'label' => 'title',
- 'formatter' => 'node_reference_plain',
- 'delta_limit' => 0,
- 'delta_offset' => '0',
- 'delta_reversed' => FALSE,
- 'formatter_settings' => array(),
- 'context' => 'argument_entity_id:node_1',
- 'override_title' => 1,
- 'override_title_text' => '<none>',
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- );
- $pane->css = array(
- 'css_id' => '',
- 'css_class' => 'page-title-secondary clearfix',
- );
- $pane->extras = array();
- $pane->position = 1;
- $pane->locks = array();
- $display->content['new-7'] = $pane;
- $display->panels['top'][1] = 'new-7';
- $display->hide_title = PANELS_TITLE_FIXED;
- $display->title_pane = '0';
- $handler->conf['display'] = $display;
- $export['node_view_panel_context_10'] = $handler;
- return $export;
- }
|