$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'; $handler->task = 'node_view'; $handler->subtask = ''; $handler->handler = 'panel_context'; $handler->weight = 0; $handler->conf = array( 'title' => 'IT Work Requests', 'no_blocks' => 0, 'pipeline' => 'ipe', 'css_id' => '', 'css' => '', 'contexts' => array(), 'relationships' => array( 0 => array( 'identifier' => 'Node edit form from node', 'keyword' => 'node_form', 'name' => 'node_edit_form_from_node', 'context' => 'argument_entity_id:node_1', 'id' => 1, ), ), 'access' => array( 'plugins' => array( 0 => array( 'name' => 'node_type', 'settings' => array( 'type' => array( 'it_work_request' => 'it_work_request', ), ), 'context' => 'argument_entity_id:node_1', 'not' => FALSE, ), ), 'logic' => 'and', ), ); $display = new panels_display; $display->layout = 'flexible'; $display->layout_settings = array( 'items' => array( 'canvas' => array( 'type' => 'row', 'contains' => 'column', 'children' => array( 0 => 'main', ), 'parent' => NULL, ), 'main' => array( 'type' => 'column', 'width' => 100, 'width_type' => '%', 'children' => array( 0 => 2, 1 => 1, 2 => 'main-row', ), 'parent' => 'canvas', ), 'main-row' => array( 'type' => 'row', 'contains' => 'region', 'children' => array( 0 => 'center', ), 'parent' => 'main', ), 'center' => array( 'type' => 'region', 'title' => 'Center', 'width' => 100, 'width_type' => '%', 'parent' => 'main-row', ), 1 => array( 'type' => 'row', 'contains' => 'region', 'children' => array( 0 => 'status', 1 => 'priority', 2 => 'category', 3 => 'tech', ), 'parent' => 'main', 'class' => '', ), 'status' => array( 'type' => 'region', 'title' => 'Status', 'width' => '25', 'width_type' => '%', 'parent' => '1', 'class' => '', ), 'priority' => array( 'type' => 'region', 'title' => 'Priority', 'width' => '25', 'width_type' => '%', 'parent' => '1', 'class' => '', ), 'category' => array( 'type' => 'region', 'title' => 'Category', 'width' => '25', 'width_type' => '%', 'parent' => '1', 'class' => '', ), 'tech' => array( 'type' => 'region', 'title' => 'Tech', 'width' => '25', 'width_type' => '%', 'parent' => '1', 'class' => '', ), 2 => array( 'type' => 'row', 'contains' => 'region', 'children' => array( 0 => 'title', ), 'parent' => 'main', 'class' => '', ), 'title' => array( 'type' => 'region', 'title' => 'Title', 'width' => 100, 'width_type' => '%', 'parent' => '2', 'class' => '', ), ), ); $display->panel_settings = array( 'style_settings' => array( 'default' => NULL, 'center' => NULL, 'status' => NULL, 'priority' => NULL, 'category' => NULL, 'tech' => NULL, 'title' => NULL, ), ); $display->cache = array(); $display->title = ''; $display->content = array(); $display->panels = array(); $pane = new stdClass; $pane->pid = 'new-1'; $pane->panel = 'category'; $pane->type = 'entity_form_field'; $pane->subtype = 'node:field_it_category'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'label' => '', 'formatter' => '', 'context' => 'argument_entity_id:node_1', 'override_title' => 0, 'override_title_text' => '', ); $pane->cache = array(); $pane->style = array( 'settings' => NULL, ); $pane->css = array(); $pane->extras = array(); $pane->position = 0; $display->content['new-1'] = $pane; $display->panels['category'][0] = 'new-1'; $pane = new stdClass; $pane->pid = 'new-2'; $pane->panel = 'center'; $pane->type = 'entity_field'; $pane->subtype = 'node:field_it_customer'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'label' => 'title', 'formatter' => 'node_reference_node', 'formatter_settings' => array( 'node_reference_view_mode' => 'teaser', ), 'context' => 'argument_entity_id:node_1', 'override_title' => 0, 'override_title_text' => '', ); $pane->cache = array(); $pane->style = array( 'settings' => NULL, ); $pane->css = array(); $pane->extras = array(); $pane->position = 0; $display->content['new-2'] = $pane; $display->panels['center'][0] = 'new-2'; $pane = new stdClass; $pane->pid = 'new-3'; $pane->panel = 'center'; $pane->type = 'entity_field'; $pane->subtype = 'node:field_it_description'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'label' => 'title', 'formatter' => 'text_default', 'formatter_settings' => array(), 'context' => 'argument_entity_id:node_1', 'override_title' => 0, 'override_title_text' => '', ); $pane->cache = array(); $pane->style = array( 'settings' => NULL, ); $pane->css = array(); $pane->extras = array(); $pane->position = 1; $display->content['new-3'] = $pane; $display->panels['center'][1] = 'new-3'; $pane = new stdClass; $pane->pid = 'new-4'; $pane->panel = 'priority'; $pane->type = 'entity_form_field'; $pane->subtype = 'node:field_it_priority'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'label' => '', 'formatter' => '', 'context' => 'argument_entity_id:node_1', 'override_title' => 0, 'override_title_text' => '', ); $pane->cache = array(); $pane->style = array( 'settings' => NULL, ); $pane->css = array(); $pane->extras = array(); $pane->position = 0; $display->content['new-4'] = $pane; $display->panels['priority'][0] = 'new-4'; $pane = new stdClass; $pane->pid = 'new-5'; $pane->panel = 'status'; $pane->type = 'entity_form_field'; $pane->subtype = 'node:field_it_status'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'label' => '', 'formatter' => '', 'context' => 'argument_entity_id:node_1', 'override_title' => 0, 'override_title_text' => '', ); $pane->cache = array(); $pane->style = array( 'settings' => NULL, 'style' => 'rounded_corners', ); $pane->css = array(); $pane->extras = array(); $pane->position = 0; $display->content['new-5'] = $pane; $display->panels['status'][0] = 'new-5'; $pane = new stdClass; $pane->pid = 'new-6'; $pane->panel = 'tech'; $pane->type = 'entity_form_field'; $pane->subtype = 'node:field_it_tech'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'label' => '', 'formatter' => '', 'context' => 'argument_entity_id:node_1', 'override_title' => 0, 'override_title_text' => '', ); $pane->cache = array(); $pane->style = array( 'settings' => NULL, ); $pane->css = array(); $pane->extras = array(); $pane->position = 0; $display->content['new-6'] = $pane; $display->panels['tech'][0] = 'new-6'; $pane = new stdClass; $pane->pid = 'new-7'; $pane->panel = 'title'; $pane->type = 'node_title'; $pane->subtype = 'node_title'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'link' => 1, 'context' => 'argument_entity_id:node_1', 'override_title' => 0, 'override_title_text' => '', ); $pane->cache = array(); $pane->style = array( 'settings' => NULL, ); $pane->css = array(); $pane->extras = array(); $pane->position = 0; $display->content['new-7'] = $pane; $display->panels['title'][0] = 'new-7'; $display->hide_title = PANELS_TITLE_FIXED; $display->title_pane = 'new-5'; $handler->conf['display'] = $display;