You are here

function system_themes_admin_form_submit in Drupal 7

Process system_themes_admin_form form submissions.

File

modules/system/system.admin.inc, line 287
Admin page callbacks for the system module.

Code

function system_themes_admin_form_submit($form, &$form_state) {
  drupal_set_message(t('The configuration options have been saved.'));
  variable_set('admin_theme', $form_state['values']['admin_theme']);
  variable_set('node_admin_theme', $form_state['values']['node_admin_theme']);
}