function views_ui_edit_display_form_override_update_section
Override handler and submit views_ui_edit_display_form
1 string reference to 'views_ui_edit_display_form_override_update_section'
- 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 2440
Code
function views_ui_edit_display_form_override_update_section(&$form, &$form_state) {
// Update the #section so it knows what to mark changed.
$form['#section'] = str_replace('default-', $form_state['display_id'] . '-', $form['#section']);
}