Displays the Change Theme form.
File
- drupal/core/modules/views/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php, line 2064
- Contains Drupal\views\Plugin\views\display\DisplayPluginBase.
Class
- DisplayPluginBase
- The default display plugin handler. Display plugins handle options and
basic mechanisms for different output methods.
Namespace
Drupal\views\Plugin\views\display
Code
public function changeThemeForm($form, &$form_state) {
$form_state['view']->theme = $form_state['values']['theme'];
$form_state['view']
->cacheSet();
$form_state['rerender'] = TRUE;
$form_state['rebuild'] = TRUE;
}