You are here

function layout_default_panels_layout in Layout 7

Implementation of hook_default_panels_layout().

Provide a couple default layouts.

File

./layout.module, line 89
Responsive layout builder tool for Panels.

Code

function layout_default_panels_layout() {
  $export = array();
  $layout = new stdClass();
  $layout->disabled = FALSE;
  $layout->api_version = 1;
  $layout->name = 'default';
  $layout->admin_title = 'Default responsive layout';
  $layout->admin_description = '';
  $layout->category = '';
  $layout->plugin = 'responsive';
  $layout->settings = array(
    'regions' => array(
      'header_a' => 'header_a',
      'header_b' => 'header_b',
      'header_c' => 'header_c',
      'subheader_a' => 'subheader_a',
      'subheader_b' => 'subheader_b',
      'subheader_c' => 'subheader_c',
      'navigation' => 'navigation',
      'title' => 'title',
      'body' => 'body',
      'sidebar_a' => 'sidebar_a',
      'sidebar_b' => 'sidebar_b',
      'sidebar_c' => 'sidebar_c',
      'footer_a' => 'footer_a',
      'footer_b' => 'footer_b',
      'footer_c' => 'footer_c',
    ),
    'overrides' => array(),
  );
  $export['default'] = $layout;
  return $export;
}