You are here

function xmlsitemap_custom_delete_link_form in XML sitemap 6.2

Same name and namespace in other branches
  1. 7.2 xmlsitemap_custom/ \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().


xmlsitemap_custom/, line 168
Administrative page callbacks for the xmlsitemap_custom module.


function xmlsitemap_custom_delete_link_form($form_state, array $link) {
  $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'));