You are here

function flexiform_field_remove_form_submit in Flexiform 7

Submit Callback to remove a flexiform field.

File

./flexiform.admin.inc, line 1214
Model type editing UI.

Code

function flexiform_field_remove_form_submit($form, &$form_state) {
  $flexiform = $form['#flexiform'];
  $form['#flexiform_element']
    ->removeFormSubmit($form, $form_state, $flexiform);
}