You are here

function ds_forms_ds_layout_info in Display Suite 7

Implements hook_ds_layout_info().

File

modules/ds_forms/ds_forms.module, line 43
Display Suite forms integration.

Code

function ds_forms_ds_layout_info() {
  $path = drupal_get_path('module', 'ds_forms');
  $layouts = array(
    'ds_form' => array(
      'label' => t('2 column stacked'),
      'path' => $path . '/layouts/ds_form',
      'regions' => array(
        'header' => t('Header'),
        'left' => t('Left'),
        'right' => t('Right'),
        'footer' => t('Footer'),
      ),
      'css' => TRUE,
      'form' => TRUE,
    ),
    'ds_form_3col' => array(
      'label' => t('3 column stacked'),
      'path' => $path . '/layouts/ds_form_3col',
      'regions' => array(
        'header' => t('Header'),
        'left' => t('Left'),
        'middle' => t('Middle'),
        'right' => t('Right'),
        'footer' => t('Footer'),
      ),
      'css' => TRUE,
      'form' => TRUE,
    ),
  );
  return $layouts;
}