You are here

function conditional_fields_dependency_delete_form_submit in Conditional Fields 7.3

Confirm form submit for the deletion of a dependency.

File

includes/conditional_fields.admin.inc, line 838
Administration of dependencies.

Code

function conditional_fields_dependency_delete_form_submit($form, &$form_state) {
  conditional_fields_dependency_delete(array(
    $form_state['values']['dependency'],
  ));
  drupal_set_message(t('The dependency has been deleted.'));
}