function views_ui_standard_submit in Views (for Drupal 7) 6.2
Same name and namespace in other branches
- 6.3 includes/admin.inc \views_ui_standard_submit()
- 7.3 includes/admin.inc \views_ui_standard_submit()
Basic submit handler applicable to all 'standard' forms
1 string reference to 'views_ui_standard_submit'
- 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
Code
function views_ui_standard_submit($form, &$form_state) {
if (!empty($form['#section'])) {
$form_state['view']->changed_sections[$form['#section']] = TRUE;
}
}