You are here

function xmlsitemap_taxonomy_vocabulary_update in XML sitemap 7.2

Implements hook_taxonomy_vocabulary_update().

File

xmlsitemap_taxonomy/xmlsitemap_taxonomy.module, line 104
Main file for XML sitemap taxonomy.

Code

function xmlsitemap_taxonomy_vocabulary_update(stdClass $vocabulary) {
  if (isset($vocabulary->xmlsitemap)) {
    xmlsitemap_link_bundle_settings_save('taxonomy_term', $vocabulary->machine_name, $vocabulary->xmlsitemap);
  }
}