You are here

function encrypt_config_form_delete_submit in Encrypt 7.2

Same name and namespace in other branches
  1. 7.3 includes/encrypt.admin.inc \encrypt_config_form_delete_submit()

Form submission handler for encrypt_config_form().

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

1 string reference to 'encrypt_config_form_delete_submit'
encrypt_config_form in includes/encrypt.admin.inc
Form constructor for the configuration edit form.

File

includes/encrypt.admin.inc, line 395
This file holds the functions for the Encrypt admin settings.

Code

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