You are here

function ds_test_ds_layout_info in Display Suite 7.2

Same name and namespace in other branches
  1. 7 tests/ds_test.module \ds_test_ds_layout_info()

Implements hook_ds_layouts_info().

File

tests/ds_test.module, line 274
Display Suite test module.

Code

function ds_test_ds_layout_info() {
  $path = drupal_get_path('module', 'ds_test');
  $layouts = array(
    'dstest_1col' => array(
      'label' => t('Test One column'),
      'path' => $path . '/dstest_1col',
      'regions' => array(
        'ds_content' => t('Content'),
      ),
    ),
    'dstest_2col' => array(
      'label' => t('Test Two column'),
      'path' => $path . '/dstest_2col',
      'regions' => array(
        'left' => t('Left'),
        'right' => t('Right'),
      ),
      'css' => TRUE,
    ),
  );
  return $layouts;
}