You are here

function ds_vefl_layouts in Views exposed form layout 7

Implements hook_vefl_layouts().

File

includes/ds.inc, line 11
Provides Panels integration.

Code

function ds_vefl_layouts() {
  $module_layouts = ds_get_layout_info();
  $layouts = array();
  foreach ($module_layouts as $id => $layout) {
    if (!empty($layout['module']) && $layout['module'] == 'panels') {
      continue;
    }
    $layouts[$id] = array(
      'title' => $layout['label'],
      'regions' => $layout['regions'],
      'module' => 'Display Suite',
      'info' => array(
        'path' => $layout['path'],
      ),
    );
  }
  return $layouts;
}