You are here

function multifield_delete_form_submit in Multifield 7

Same name and namespace in other branches
  1. 7.2 multifield.admin.inc \multifield_delete_form_submit()

File

./multifield.admin.inc, line 186
Administation pages and forms for the Multifield module.

Code

function multifield_delete_form_submit($form, &$form_state) {
  $multifield = $form['#multifield'];
  multifield_delete($multifield);
  watchdog('multifield', 'Deleted multifield type %type.', array(
    '%type' => $multifield->label,
  ));
  $form_state['redirect'] = 'admin/structure/multifield';
}