You are here

function xmlsitemap_xmlsitemap_operations in XML sitemap 6

Implementation of hook_xmlsitemap_operations().

File

./xmlsitemap.module, line 192
Creates a sitemap compatible with the sitemaps.org schema.

Code

function xmlsitemap_xmlsitemap_operations() {
  return array(
    'delete_cache_files' => array(
      'label' => t('Delete the sitemap cache files'),
      'callback' => 'xmlsitemap_delete_cache_files',
    ),
    'flag_sitemap' => array(
      'label' => t('Flag the sitemap as requiring update'),
      'callback' => 'xmlsitemap_flag_sitemap',
    ),
  );
}