1.20.x layout_test.module layout_test_layout_info()

Implements hook_layout_info().

File

modules/layout/tests/layout_test/layout_test.module, line 10
Layout test module.

Code

function layout_test_layout_info() {
  $layouts['layout_test_layout'] = array(
    'title' => 'Layout test layout',
    'regions' => array(
      'header' => t('Header'),
      'top' => t('Top'),
      'content' => t('Content'),
      'sidebar' => t('Sidebar'),
      'footer' => t('Footer'),
    ),
    'default region' => 'content',
    'path' => 'layout_test_layout',
  );

  return $layouts;
}