You are here

commons_events_pages.panelizer.inc in Drupal Commons 7.3

File

modules/commons/commons_events/modules/commons_events_pages/commons_events_pages.panelizer.inc
View source
<?php

/**
 * @file
 * commons_events_pages.panelizer.inc
 */

/**
 * Implements hook_panelizer_defaults().
 */
function commons_events_pages_panelizer_defaults() {
  $export = array();
  $panelizer = new stdClass();
  $panelizer->disabled = FALSE;

  /* Edit this to true to make a default panelizer disabled initially */
  $panelizer->api_version = 1;
  $panelizer->name = 'node:event:default';
  $panelizer->title = 'Default';
  $panelizer->panelizer_type = 'node';
  $panelizer->panelizer_key = 'event';
  $panelizer->no_blocks = FALSE;
  $panelizer->css_id = '';
  $panelizer->css = '';
  $panelizer->pipeline = 'ipe';
  $panelizer->contexts = array();
  $panelizer->relationships = array();
  $panelizer->access = array();
  $panelizer->view_mode = 'page_manager';
  $panelizer->css_class = '';
  $panelizer->title_element = 'H2';
  $panelizer->link_to_entity = TRUE;
  $panelizer->extra = array();
  $display = new panels_display();
  $display->layout = 'two_66_33';
  $display->layout_settings = array();
  $display->panel_settings = array(
    'style_settings' => array(
      'default' => NULL,
      'two_66_33_top' => NULL,
      'two_66_33_first' => NULL,
      'two_66_33_second' => NULL,
      'two_66_33_bottom' => NULL,
    ),
  );
  $display->cache = array();
  $display->title = '%node:title';
  $display->uuid = '0d63be4d-5605-1644-fd5c-3872c8b1d8b6';
  $display->storage_type = 'panelizer_default';
  $display->storage_id = 'node:event:default';
  $display->content = array();
  $display->panels = array();
  $pane = new stdClass();
  $pane->pid = 'new-f259289a-8ef0-6aa4-2592-c59928474958';
  $pane->panel = 'two_66_33_first';
  $pane->type = 'node_content';
  $pane->subtype = 'node_content';
  $pane->shown = TRUE;
  $pane->access = array();
  $pane->configuration = array(
    'links' => 1,
    'no_extras' => 0,
    'override_title' => 0,
    'override_title_text' => '',
    'identifier' => '',
    'link' => 0,
    'leave_node_title' => 1,
    'build_mode' => 'full',
    'context' => 'panelizer',
  );
  $pane->cache = array();
  $pane->style = array(
    'settings' => NULL,
  );
  $pane->css = array();
  $pane->extras = array();
  $pane->position = 0;
  $pane->locks = array();
  $pane->uuid = 'f259289a-8ef0-6aa4-2592-c59928474958';
  $display->content['new-f259289a-8ef0-6aa4-2592-c59928474958'] = $pane;
  $display->panels['two_66_33_first'][0] = 'new-f259289a-8ef0-6aa4-2592-c59928474958';
  $pane = new stdClass();
  $pane->pid = 'new-a2912068-e5e2-c804-b1ba-3260dc059c9b';
  $pane->panel = 'two_66_33_second';
  $pane->type = 'views_panes';
  $pane->subtype = 'commons_events_organizers-panel_pane_1';
  $pane->shown = TRUE;
  $pane->access = array();
  $pane->configuration = array(
    'context' => array(
      0 => 'panelizer',
    ),
  );
  $pane->cache = array();
  $pane->style = array(
    'settings' => NULL,
  );
  $pane->css = array();
  $pane->extras = array();
  $pane->position = 0;
  $pane->locks = array();
  $pane->uuid = 'a2912068-e5e2-c804-b1ba-3260dc059c9b';
  $display->content['new-a2912068-e5e2-c804-b1ba-3260dc059c9b'] = $pane;
  $display->panels['two_66_33_second'][0] = 'new-a2912068-e5e2-c804-b1ba-3260dc059c9b';
  $pane = new stdClass();
  $pane->pid = 'new-aef85835-68a5-2494-b107-136f1cb92749';
  $pane->panel = 'two_66_33_second';
  $pane->type = 'views_panes';
  $pane->subtype = 'commons_events_event_attendee_list-panel_pane_1';
  $pane->shown = TRUE;
  $pane->access = array();
  $pane->configuration = array(
    'use_pager' => 1,
    'pager_id' => '0',
    'items_per_page' => '20',
    'offset' => '0',
    'context' => array(
      0 => 'panelizer',
    ),
  );
  $pane->cache = array();
  $pane->style = array(
    'settings' => NULL,
  );
  $pane->css = array();
  $pane->extras = array();
  $pane->position = 1;
  $pane->locks = array();
  $pane->uuid = 'aef85835-68a5-2494-b107-136f1cb92749';
  $display->content['new-aef85835-68a5-2494-b107-136f1cb92749'] = $pane;
  $display->panels['two_66_33_second'][1] = 'new-aef85835-68a5-2494-b107-136f1cb92749';
  $display->hide_title = PANELS_TITLE_NONE;
  $display->title_pane = '0';
  $panelizer->display = $display;
  $export['node:event:default'] = $panelizer;
  return $export;
}

Functions

Namesort descending Description
commons_events_pages_panelizer_defaults Implements hook_panelizer_defaults().