You are here

function themekey_ui_form_submit in ThemeKey 6

Function themekey_ui_form_submit().

2 string references to 'themekey_ui_form_submit'
_themekey_ui_nodeform in ./themekey_ui_admin.inc
Function _themekey_ui_nodeform().
_themekey_ui_pathalias in ./themekey_ui_admin.inc
Function _themekey_ui_pathalias().

File

./themekey_ui.module, line 79

Code

function themekey_ui_form_submit($form, &$form_state) {
  if (isset($form_state['values']['themekey_submit'])) {
    require_once drupal_get_path('module', 'themekey_ui') . '/themekey_ui_admin.inc';
    $handler = $form_state['values']['themekey_submit'];
    if (function_exists($handler)) {
      $handler($form, $form_state);
    }
  }
}