function conditional_fields_dependency_delete_form in Conditional Fields 7.3
Confirm form for the deletion of a dependency.
1 string reference to 'conditional_fields_dependency_delete_form'
- conditional_fields_menu in ./
conditional_fields.module - Implements hook_menu().
File
- includes/
conditional_fields.admin.inc, line 817 - Administration of dependencies.
Code
function conditional_fields_dependency_delete_form($form, $form_state, $dependency) {
$destination = drupal_get_destination();
return confirm_form(array(
'dependency' => array(
'#type' => 'value',
'#value' => $dependency['id'],
),
), t('Are you sure you want to delete this dependency?'), $destination['destination'], t('This action cannot be undone.'), t('Delete dependency'), t('Cancel'));
}