function views_ui_edit_display_form_change_theme in Views (for Drupal 7) 8.3
Same name and namespace in other branches
- 6.3 includes/admin.inc \views_ui_edit_display_form_change_theme()
- 6.2 includes/admin.inc \views_ui_edit_display_form_change_theme()
- 7.3 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'
- DisplayPluginBase::buildOptionsForm in lib/
Drupal/ views/ Plugin/ views/ display/ DisplayPluginBase.php - Provide the default form for setting options.
File
- views_ui/
admin.inc, line 2470 - 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;
}