1 path.admin.inc | path_admin_delete_confirm($form, &$form_state, $path) |
Form constructor for the path deletion form.
Parameters
$path: The URL alias that will be deleted.
See also
path_admin_delete_confirm_submit()
File
- core/
modules/ path/ path.admin.inc, line 265 - Admin 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 URL alias %title?',
array('%title' => $path['alias'])),
'admin/config/urls/path'
);
}
return array();
}