function _vefl_change_layout_button in Views exposed form layout 7
Helper function to rebuild views exposed form.
2 string references to '_vefl_change_layout_button'
- vefl_plugin_exposed_form_basic::options_form in views/
vefl_plugin_exposed_form_basic.inc - Provide a form for setting options.
- vefl_plugin_exposed_form_bef::options_form in views/
vefl_plugin_exposed_form_bef.inc - Provide a form for setting options.
File
- ./
vefl.module, line 154 - Provides functionality to output Views exposed filters in layout.
Code
function _vefl_change_layout_button($form, &$form_state) {
$display =& $form_state['view']->display[$form_state['display_id']];
$display->handler
->options_submit($form, $form_state);
views_ui_cache_set($form_state['view']);
$form_state['rerender'] = TRUE;
$form_state['rebuild'] = TRUE;
}