| 1 node.module | node_form_system_themes_admin_form_submit($form, &$form_state) |
Form submission handler for system_themes_admin_form().
See also
node_form_system_themes_admin_form_alter()
File
- core/
modules/ node/ node.module, line 2598 - The core module that allows content to be submitted to the site.
Code
function node_form_system_themes_admin_form_submit($form, &$form_state) {
config_set('system.core', 'node_admin_theme', $form_state['values']['node_admin_theme']);
// The default and admin layout are tied directly to this setting, so clear
// the Layout cache.
layout_reset_caches();
}