function xmlsitemap_taxonomy_xmlsitemap_process_taxonomy_term_links in XML sitemap 6.2
Same name and namespace in other branches
- 7.2 xmlsitemap_taxonomy/xmlsitemap_taxonomy.module \xmlsitemap_taxonomy_xmlsitemap_process_taxonomy_term_links()
Process taxonomy term sitemap links.
Parameters
$tids: An array of taxonomy term IDs.
1 call to xmlsitemap_taxonomy_xmlsitemap_process_taxonomy_term_links()
- xmlsitemap_taxonomy_xmlsitemap_index_links in xmlsitemap_taxonomy/xmlsitemap_taxonomy.module 
- Implements hook_xmlsitemap_index_links().
1 string reference to 'xmlsitemap_taxonomy_xmlsitemap_process_taxonomy_term_links'
- xmlsitemap_taxonomy_xmlsitemap_link_info in xmlsitemap_taxonomy/xmlsitemap_taxonomy.module 
- Implements hook_xmlsitemap_link_info().
File
- xmlsitemap_taxonomy/xmlsitemap_taxonomy.module, line 68 
Code
function xmlsitemap_taxonomy_xmlsitemap_process_taxonomy_term_links(array $tids) {
  foreach ($tids as $tid) {
    $term = taxonomy_get_term($tid);
    $link = xmlsitemap_taxonomy_create_link($term);
    xmlsitemap_link_save($link);
  }
}