function hook_vefl_layouts in Views exposed form layout 7
Provides custom layouts for Views exposed form.
Return value
array An array with layouts info.
3 functions implement hook_vefl_layouts()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- ds_vefl_layouts in includes/
ds.inc - Implements hook_vefl_layouts().
- panels_vefl_layouts in includes/
panels.inc - Implements hook_vefl_layouts().
- vefl_vefl_layouts in includes/
vefl.inc - Implements hook_vefl_layouts().
1 invocation of hook_vefl_layouts()
- vefl_get_layouts in ./
vefl.module - Returns array of layouts for exposed form.
File
- ./
vefl.api.php, line 14 - Hooks provided by Views exposed form layout module.
Code
function hook_vefl_layouts() {
return array(
'vefl_twocol_stacked' => array(
// Layout machine name.
'title' => t('Two column stacked'),
// Layout title.
'regions' => array(
// Regions.
'top' => t('Top'),
'left' => t('Left side'),
'right' => t('Right side'),
'bottom' => t('Bottom'),
),
'module' => 'VEFL',
),
// layouts by categories. Will be "VEFL" if empty.
'vefl_twocol_bricks' => array(
'title' => t('Two column bricks'),
'regions' => array(
'top' => t('Top'),
'left_above' => t('Left above'),
'right_above' => t('Right above'),
'middle' => t('Middle'),
'left_below' => t('Left below'),
'right_below' => t('Right below'),
'bottom' => t('Bottom'),
),
'module' => 'VEFL',
),
);
}