function system_ip_blocking_delete

system_ip_blocking_delete($form, &$form_state, $iid)

IP deletion confirm page.

See also

system_ip_blocking_delete_submit()

File

modules/system/system.admin.inc, line 1471
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'));
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!system!system.admin.inc/function/system_ip_blocking_delete/7.x