You are here

function hook_xmlsitemap_engine_info in XML sitemap 6.2

Same name and namespace in other branches
  1. 8 xmlsitemap_engines/xmlsitemap_engines.api.php \hook_xmlsitemap_engine_info()
  2. 7.2 xmlsitemap_engines/xmlsitemap_engines.api.php \hook_xmlsitemap_engine_info()
  3. 2.x xmlsitemap_engines/xmlsitemap_engines.api.php \hook_xmlsitemap_engine_info()

Provide a list of supported sitemap engines.

2 functions implement hook_xmlsitemap_engine_info()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

xmlsitemap_engines_test_xmlsitemap_engine_info in xmlsitemap_engines/tests/xmlsitemap_engines_test.module
Implements hook_xmlsitemap_engine_info().
xmlsitemap_engines_xmlsitemap_engine_info in xmlsitemap_engines/xmlsitemap_engines.module
Implements hook_xmlsitemap_engine_info().
1 invocation of hook_xmlsitemap_engine_info()
xmlsitemap_engines_get_engine_info in xmlsitemap_engines/xmlsitemap_engines.module
Returns information about supported search engines.

File

xmlsitemap_engines/xmlsitemap_engines.api.php, line 16
Hooks provided by the XML sitemap engines module.

Code

function hook_xmlsitemap_engine_info() {
  $engines['example'] = array(
    'name' => t('Example search engine'),
    'url' => 'http://example.com/ping?sitemap=[sitemap]',
  );
  return $engines;
}