You are here

function key_ui_config_form_delete_submit in Key 7

Form submission handler for key_ui_key_config_form().

Handles the 'Delete' button on the key configuration form.

1 string reference to 'key_ui_config_form_delete_submit'
key_ui_key_config_form in modules/key_ui/includes/key_ui.admin.inc
Form constructor for the key configuration edit form.

File

modules/key_ui/includes/key_ui.admin.inc, line 271
Administrative functionality for managing key configurations.

Code

function key_ui_config_form_delete_submit($form, &$form_state) {
  $form_state['redirect'] = KEY_MENU_PATH . '/delete/' . str_replace('_', '-', $form['name']['#default_value']);
}