You are here

function system_ip_blocking_delete in Drupal 7

IP deletion confirm page.

See also

system_ip_blocking_delete_submit()

1 string reference to 'system_ip_blocking_delete'
system_menu in modules/system/system.module
Implements hook_menu().

File

modules/system/system.admin.inc, line 1472
Admin page callbacks for the system module.

Code

function system_ip_blocking_delete($form, &$form_state, $iid) {
  $form['blocked_ip'] = array(
    '#type' => 'value',
    '#value' => $iid,
  );
  return confirm_form($form, t('Are you sure you want to delete %ip?', array(
    '%ip' => $iid['ip'],
  )), 'admin/config/people/ip-blocking', t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}