function key_config_form_delete_submit in Key 7.2
Same name and namespace in other branches
- 7.3 includes/key.admin.inc \key_config_form_delete_submit()
Form submission handler for key_config_form().
Handles the 'Delete' button on the key configuration form.
1 string reference to 'key_config_form_delete_submit'
- key_config_form in includes/
key.admin.inc - Form constructor for the key configuration edit form.
File
- includes/
key.admin.inc, line 294 - Administrative functionality for managing key configurations.
Code
function key_config_form_delete_submit($form, &$form_state) {
$form_state['redirect'] = KEY_MENU_PATH . '/manage/' . str_replace('_', '-', $form['name']['#default_value']) . '/delete';
}