You are here

function hook_xmlsitemap_engine_info in XML sitemap 8

Same name and namespace in other branches
  1. 6.2 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/modules/xmlsitemap_engines_test/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'] = [
    'name' => t('Example search engine'),
    'url' => 'http://example.com/ping?sitemap=[sitemap]',
  ];
  return $engines;
}