You are here

function xmlsitemap_xmlsitemap_sitemap_operations in XML sitemap 8

Same name and namespace in other branches
  1. 6.2 xmlsitemap.xmlsitemap.inc \xmlsitemap_xmlsitemap_sitemap_operations()
  2. 7.2 xmlsitemap.xmlsitemap.inc \xmlsitemap_xmlsitemap_sitemap_operations()
  3. 2.x xmlsitemap.module \xmlsitemap_xmlsitemap_sitemap_operations()

Implements hook_xmlsitemap_sitemap_operations().

File

./xmlsitemap.module, line 1993
xmlsitemap XML sitemap

Code

function xmlsitemap_xmlsitemap_sitemap_operations() {
  $operations['update'] = [
    'label' => t('Update cached files'),
    'action past' => t('Updated'),
    'callback' => 'xmlsitemap_sitemap_multiple_update',
  ];
  return $operations;
}