You are here

function views_ui_edit_display_form_override in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 8.3 views_ui/admin.inc \views_ui_edit_display_form_override()
  2. 6.3 includes/admin.inc \views_ui_edit_display_form_override()
  3. 7.3 includes/admin.inc \views_ui_edit_display_form_override()

Override handler for views_ui_edit_display_form

1 string reference to 'views_ui_edit_display_form_override'
views_plugin_display::add_override_button in plugins/views_plugin_display.inc
Add an override button for a given section, allowing the user to change whether this info is stored on the default display or on the current display.

File

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

Code

function views_ui_edit_display_form_override($form, &$form_state) {
  $display =& $form_state['view']->display[$form_state['display_id']];
  $display->handler
    ->options_override($form, $form_state);
  views_ui_cache_set($form_state['view']);
  $form_state['rerender'] = TRUE;
  $form_state['rebuild'] = TRUE;
}