You are here

function panels_twocol_panels_layouts in Panels 5

Same name and namespace in other branches
  1. 5.2 layouts/twocol.inc \panels_twocol_panels_layouts()
  2. 6.2 layouts/twocol/twocol.inc \panels_twocol_panels_layouts()

implementation of hook_panels_layouts

File

layouts/twocol.inc, line 5

Code

function panels_twocol_panels_layouts() {
  $items['twocol'] = array(
    'module' => 'panels',
    'title' => t('Two column'),
    'icon' => 'layouts/twocol.png',
    'theme' => 'panels_twocol',
    'css' => 'layouts/twocol.css',
    'content areas' => array(
      'left' => t('Left side'),
      'right' => t('Right side'),
    ),
  );
  return $items;
}