function xmlsitemap_custom_delete_link_form in XML sitemap 6.2
Same name and namespace in other branches
- 7.2 xmlsitemap_custom/xmlsitemap_custom.admin.inc \xmlsitemap_custom_delete_link_form()
1 string reference to 'xmlsitemap_custom_delete_link_form'
- xmlsitemap_custom_menu in xmlsitemap_custom/
xmlsitemap_custom.module - Implements hook_menu().
File
- xmlsitemap_custom/
xmlsitemap_custom.admin.inc, line 168 - Administrative page callbacks for the xmlsitemap_custom module.
Code
function xmlsitemap_custom_delete_link_form($form_state, array $link) {
_xmlsitemap_set_breadcrumb('admin/settings/xmlsitemap/custom');
$form['link'] = array(
'#type' => 'value',
'#value' => $link,
);
return confirm_form($form, t('Are you sure you want to delete the custom link for %loc?', array(
'%loc' => $link['loc'],
)), 'admin/settings/xmlsitemap/custom', t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}