You are here

function xmlsitemap_engines_xmlsitemap_sitemap_operations in XML sitemap 6.2

Same name and namespace in other branches
  1. 8 xmlsitemap_engines/xmlsitemap_engines.module \xmlsitemap_engines_xmlsitemap_sitemap_operations()
  2. 7.2 xmlsitemap_engines/xmlsitemap_engines.module \xmlsitemap_engines_xmlsitemap_sitemap_operations()
  3. 2.x xmlsitemap_engines/xmlsitemap_engines.module \xmlsitemap_engines_xmlsitemap_sitemap_operations()

Implements hook_xmlsitemap_sitemap_operations().

File

xmlsitemap_engines/xmlsitemap_engines.module, line 223

Code

function xmlsitemap_engines_xmlsitemap_sitemap_operations() {
  if (xmlsitemap_engines_can_submit()) {
    $operations['xmlsitemap_engines_submit'] = array(
      'label' => t('Submit to search engines'),
      'action past' => t('Submitted'),
      'callback' => 'xmlsitemap_engines_submit_engines',
    );
    return $operations;
  }
}