You are here

function panels_change_layout_button in Panels 7.3

Same name and namespace in other branches
  1. 6.3 plugins/views/panels_views_plugin_row_fields.inc \panels_change_layout_button()

Override handler for views_ui_edit_display_form.

1 string reference to 'panels_change_layout_button'
panels_views_plugin_row_fields::options_form in plugins/views/panels_views_plugin_row_fields.inc
Provide a form for setting options.

File

plugins/views/panels_views_plugin_row_fields.inc, line 158
Contains the base row style plugin.

Code

function panels_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;
}