You are here

function agreement_type_delete_form in Agreement 7.2

Agreement type delete form.

Parameters

array $form: The form array.

array &$form_state: The form state array.

array $info: The agreement type.

Return value

array The form array.

1 string reference to 'agreement_type_delete_form'
agreement_menu in ./agreement.module
Implements hook_menu().

File

./agreement.admin.inc, line 466
Agreement administration page callback.

Code

function agreement_type_delete_form($form, &$form_state, $info) {
  $form_state['name'] = $info['type'];
  return confirm_form($form, t('Are you sure you want to delete this agreement type?'), 'admin/config/people/agreement/manage', t('Removing an agreement type will delete all user agreements for that type.'));
}