Advertisement
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 = 'page_watchlist_popup_panel_context';
- $handler->task = 'page';
- $handler->subtask = 'watchlist_popup';
- $handler->handler = 'panel_context';
- $handler->weight = 0;
- $handler->conf = array(
- 'title' => 'Panel',
- 'no_blocks' => 1,
- 'css_id' => '',
- 'css' => '',
- 'contexts' => array(
- 2 => array(
- 'name' => 'node_add_form',
- 'id' => 1,
- 'identifier' => 'Node add form',
- 'keyword' => 'node_add',
- 'context_settings' => array(
- 'type' => 'watchlist',
- ),
- ),
- 3 => array(
- 'name' => 'user',
- 'id' => 1,
- 'identifier' => 'User',
- 'keyword' => 'user',
- 'context_settings' => array(
- 'type' => 'current',
- 'user' => '',
- 'uid' => '',
- ),
- ),
- ),
- 'relationships' => array(),
- );
- $display = new panels_display;
- $display->api_version = 1;
- $display->layout = 'onecol';
- $display->layout_settings = array();
- $display->panel_settings = array();
- $display->cache = array();
- $display->title = 'Zu Merkliste hinzufügen';
- $display->content = array();
- $display->panels = array();
- $pane = new stdClass;
- $pane->api_version = 1;
- $pane->pid = 'new-1';
- $pane->panel = 'middle';
- $pane->type = 'views_panes';
- $pane->subtype = 'my_watchlists-panel_pane_2';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array();
- $pane->cache = array();
- $pane->style = array();
- $pane->css = array();
- $pane->extras = array();
- $pane->position = 0;
- $display->content['new-1'] = $pane;
- $display->panels['middle'][0] = 'new-1';
- $pane = new stdClass;
- $pane->api_version = 1;
- $pane->pid = 'new-2';
- $pane->panel = 'middle';
- $pane->type = 'form';
- $pane->subtype = 'form';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'context' => 'context_node_add_form_1',
- 'override_title' => 1,
- 'override_title_text' => '',
- );
- $pane->cache = array();
- $pane->style = array();
- $pane->css = array();
- $pane->extras = array();
- $pane->position = 1;
- $display->content['new-2'] = $pane;
- $display->panels['middle'][1] = 'new-2';
- $pane = new stdClass;
- $pane->api_version = 1;
- $pane->pid = 'new-3';
- $pane->panel = 'middle';
- $pane->type = 'node_form_buttons';
- $pane->subtype = 'node_form_buttons';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'context' => 'context_node_add_form_1',
- 'override_title' => 0,
- 'override_title_text' => '',
- );
- $pane->cache = array();
- $pane->style = array();
- $pane->css = array();
- $pane->extras = array();
- $pane->position = 2;
- $display->content['new-3'] = $pane;
- $display->panels['middle'][2] = 'new-3';
- $display->hide_title = PANELS_TITLE_FIXED;
- $display->title_pane = '0';
- $handler->conf['display'] = $display;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement