You are here

function mail_edit_template_form_remove in Mail Editor 7

Submit handler to remove a template.

_state

Parameters

array $form:

1 string reference to 'mail_edit_template_form_remove'
mail_edit_template_form in ./mail_edit.admin.inc
Form builder function to prepare the template edit form.

File

./mail_edit.admin.inc, line 531
Administrative interface for the Mail Editor module.

Code

function mail_edit_template_form_remove(array $form, array &$form_state) {
  $form_state['redirect'] = array(
    current_path() . '/remove',
  );
}