function views_ui_edit_display_form_change_theme in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 8.3 views_ui/admin.inc \views_ui_edit_display_form_change_theme()
- 6.3 includes/admin.inc \views_ui_edit_display_form_change_theme()
- 6.2 includes/admin.inc \views_ui_edit_display_form_change_theme()
Override handler for views_ui_edit_display_form.
1 string reference to 'views_ui_edit_display_form_change_theme'
- views_plugin_display::options_form in plugins/
views_plugin_display.inc - Provide the default form for setting options.
File
- includes/
admin.inc, line 5192 - Provides the Views' administrative interface.
Code
function views_ui_edit_display_form_change_theme($form, &$form_state) {
// This is just a temporary variable.
$form_state['view']->theme = $form_state['values']['theme'];
views_ui_cache_set($form_state['view']);
$form_state['rerender'] = TRUE;
$form_state['rebuild'] = TRUE;
}