You are here

function xmlsitemap_xmlsitemap_sitemap_operations in XML sitemap 2.x

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

Implements hook_xmlsitemap_sitemap_operations().

File

./xmlsitemap.module, line 1953
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;
}