You are here

function site_verify_delete_form in Site verification 7.2

Same name and namespace in other branches
  1. 6 site_verify.admin.inc \site_verify_delete_form()
  2. 7 site_verify.admin.inc \site_verify_delete_form()

Delete form: found at admin/config/search/verifications/xxx/delete

1 string reference to 'site_verify_delete_form'
site_verify_menu in ./site_verify.module
Implements hook_menu().

File

./site_verify.admin.inc, line 278

Code

function site_verify_delete_form($form, $form_state, $record) {
  $form['record'] = array(
    '#type' => 'value',
    '#value' => $record,
  );
  return confirm_form($form, t('Are you sure you want to delete the site verification for %engine?', array(
    '%engine' => $record['engine']['name'],
  )), 'admin/config/search/verifications', t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}