You are here

function views_ui_edit_display_form_override_update in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 6.3 includes/admin.inc \views_ui_edit_display_form_override_update()

Override handler and submit views_ui_edit_display_form

1 string reference to 'views_ui_edit_display_form_override_update'
views_ui_standard_form_buttons in includes/admin.inc
Provide standard buttons for the forms to make it easy. Also provide a hidden op operator because the forms plugin doesn't seem to properly provide which button was clicked.

File

includes/admin.inc, line 2060
admin.inc Provides the Views' administrative interface.

Code

function views_ui_edit_display_form_override_update(&$form, &$form_state) {
  $display =& $form_state['view']->display[$form_state['display_id']];
  $display->handler
    ->options_override($form, $form_state);
  $display->handler
    ->options_submit($form, $form_state);
  views_ui_cache_set($form_state['view']);
}