On this page
function path_admin_delete_confirm
path_admin_delete_confirm($form, &$form_state, $path)
Form constructor for the path deletion form.
Parameters
$path: The path alias that will be deleted.
See also
path_admin_delete_confirm_submit()
File
- modules/path/path.admin.inc, line 239
- Administrative page callbacks for the path module.
Code
function path_admin_delete_confirm($form, &$form_state, $path) {
if (user_access('administer url aliases')) {
$form_state['path'] = $path;
return confirm_form(
$form,
t('Are you sure you want to delete path alias %title?',
array('%title' => $path['alias'])),
'admin/config/search/path'
);
}
return array();
}
© 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!path!path.admin.inc/function/path_admin_delete_confirm/7.x