function views_ui_edit_form_submit_preview in Views (for Drupal 7) 7.3
Submit handler when Preview button is clicked.
1 string reference to 'views_ui_edit_form_submit_preview'
- views_ui_preview_form in includes/
admin.inc - Provide the preview formulas and the preview output, too.
File
- includes/
admin.inc, line 1478 - Provides the Views' administrative interface.
Code
function views_ui_edit_form_submit_preview($form, &$form_state) {
// Rebuild the form with a pristine $view object.
$form_state['build_info']['args'][0] = views_ui_cache_load($form_state['view']->name);
$form_state['show_preview'] = TRUE;
$form_state['rebuild'] = TRUE;
}