Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $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_5';
- $handler->task = 'node_view';
- $handler->subtask = '';
- $handler->handler = 'panel_context';
- $handler->weight = 4;
- $handler->conf = array(
- 'title' => 'Courses',
- 'no_blocks' => 0,
- 'pipeline' => 'standard',
- 'css_id' => 'panel-courses',
- 'css' => '',
- 'contexts' => array(),
- 'relationships' => array(),
- 'access' => array(
- 'plugins' => array(
- 0 => array(
- 'name' => 'node_type',
- 'settings' => array(
- 'type' => array(
- 'course' => 'course',
- ),
- ),
- 'context' => 'argument_entity_id:node_1',
- 'not' => FALSE,
- ),
- ),
- 'logic' => 'and',
- ),
- );
- $display = new panels_display;
- $display->layout = 'twocol';
- $display->layout_settings = array();
- $display->panel_settings = array(
- 'style_settings' => array(
- 'default' => NULL,
- 'left' => NULL,
- 'right' => NULL,
- ),
- );
- $display->cache = array();
- $display->title = '';
- $display->content = array();
- $display->panels = array();
- $pane = new stdClass;
- $pane->pid = 'new-1';
- $pane->panel = 'left';
- $pane->type = 'token';
- $pane->subtype = 'node:field_course_about';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'sanitize' => 1,
- 'context' => 'argument_entity_id:node_1',
- 'override_title' => 0,
- 'override_title_text' => '',
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- 'style' => 'block',
- );
- $pane->css = array();
- $pane->extras = array();
- $pane->position = 0;
- $pane->locks = array();
- $display->content['new-1'] = $pane;
- $display->panels['left'][0] = 'new-1';
- $pane = new stdClass;
- $pane->pid = 'new-2';
- $pane->panel = 'left';
- $pane->type = 'token';
- $pane->subtype = 'node:field_course_entry_requirements';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'sanitize' => 1,
- 'context' => 'argument_entity_id:node_1',
- 'override_title' => 0,
- 'override_title_text' => '',
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- 'style' => 'block',
- );
- $pane->css = array();
- $pane->extras = array();
- $pane->position = 1;
- $pane->locks = array();
- $display->content['new-2'] = $pane;
- $display->panels['left'][1] = 'new-2';
- $pane = new stdClass;
- $pane->pid = 'new-3';
- $pane->panel = 'left';
- $pane->type = 'token';
- $pane->subtype = 'node:field_course_duration';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'sanitize' => 1,
- 'context' => 'argument_entity_id:node_1',
- 'override_title' => 0,
- 'override_title_text' => '',
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- 'style' => 'block',
- );
- $pane->css = array();
- $pane->extras = array();
- $pane->position = 2;
- $pane->locks = array();
- $display->content['new-3'] = $pane;
- $display->panels['left'][2] = 'new-3';
- $pane = new stdClass;
- $pane->pid = 'new-4';
- $pane->panel = 'left';
- $pane->type = 'token';
- $pane->subtype = 'node:field_course_career_options';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'sanitize' => 1,
- 'context' => 'argument_entity_id:node_1',
- 'override_title' => 0,
- 'override_title_text' => '',
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- 'style' => 'block',
- );
- $pane->css = array();
- $pane->extras = array();
- $pane->position = 3;
- $pane->locks = array();
- $display->content['new-4'] = $pane;
- $display->panels['left'][3] = 'new-4';
- $pane = new stdClass;
- $pane->pid = 'new-5';
- $pane->panel = 'right';
- $pane->type = 'entity_field';
- $pane->subtype = 'node:field_course_image';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'label' => 'title',
- 'formatter' => 'image',
- 'formatter_settings' => array(
- 'image_style' => '',
- 'image_link' => '',
- ),
- 'context' => 'argument_entity_id:node_1',
- 'override_title' => 1,
- 'override_title_text' => '',
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- 'style' => 'block',
- );
- $pane->css = array(
- 'css_id' => '',
- 'css_class' => 'img-border',
- );
- $pane->extras = array();
- $pane->position = 0;
- $pane->locks = array();
- $display->content['new-5'] = $pane;
- $display->panels['right'][0] = 'new-5';
- $display->hide_title = PANELS_TITLE_FIXED;
- $display->title_pane = '0';
- $handler->conf['display'] = $display;
Advertisement
Add Comment
Please, Sign In to add comment