xmlsitemap_node_node_type

Definition

xmlsitemap_node_node_type($op, $info)
contributions/modules/xmlsitemap/xmlsitemap_node/xmlsitemap_node.module, line 329

Description

Implementation of hook_node_type().

Related topics

Namesort iconDescription
XML SitemapNotify search engines of site updates.

Code

function xmlsitemap_node_node_type($op, $info) {
  if ($op == 'delete' && variable_get("xmlsitemap_node_type_priority_$info->old_type", 0.5) != 0.5) {
    xmlsitemap_update_sitemap();
  }
}