You are here

function panels_vefl_layouts in Views exposed form layout 7

Implements hook_vefl_layouts().

File

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

Code

function panels_vefl_layouts() {
  ctools_include('plugins', 'panels');
  $module_layouts = panels_get_layouts();
  $layouts = array();
  foreach ($module_layouts as $id => $layout) {
    $regions = panels_get_regions($layout, panels_new_display());
    $layouts['panels_' . $id] = array(
      'title' => $layout['title'],
      'regions' => $regions,
      'module' => 'Panels',
    );
  }
  return $layouts;
}