You are here

function domain_xmlsitemap_domainupdate in Domain XML sitemap 6

Implements hook_domainupdate().

File

./domain_xmlsitemap.module, line 88

Code

function domain_xmlsitemap_domainupdate($op, $domain, $form_state = array()) {
  if ($op == 'update') {

    // If domain was changed, flag sitemap for updating.
  }
  elseif ($op == 'delete') {

    // Delete any sitemaps with this domain in its context.
  }
}