You are here

function delta_add_override_select_theme_submit in Delta 7

Same name and namespace in other branches
  1. 6 delta.module \delta_add_override_select_theme_submit()

This submit handler is hooked to the hidden submit button and is executed on the AHAH call

1 string reference to 'delta_add_override_select_theme_submit'
delta_manage_override_form in ./delta.module

File

./delta.module, line 729
The Delta Theme API is an advanced manipulation of the Theme Settings API to allow for customization/configuration of theme settings based on node types, context, or groups of paths.

Code

function delta_add_override_select_theme_submit($form, &$form_state) {
  $delta = $form_state['values'];

  //drupal_set_message('<pre>'. print_r($delta, TRUE) .'</pre>');
  unset($form_state['submit_handlers']);
  form_execute_handlers('submit', $form, $form_state);
  $form_state['delta'] = $delta;
  $form_state['rebuild'] = TRUE;
}