function hook_xmlsitemap_engine_info_alter in XML sitemap 8
Same name and namespace in other branches
- 6.2 xmlsitemap_engines/xmlsitemap_engines.api.php \hook_xmlsitemap_engine_info_alter()
- 7.2 xmlsitemap_engines/xmlsitemap_engines.api.php \hook_xmlsitemap_engine_info_alter()
- 2.x xmlsitemap_engines/xmlsitemap_engines.api.php \hook_xmlsitemap_engine_info_alter()
Alter the list of sitemap engines.
1 function implements hook_xmlsitemap_engine_info_alter()
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_alter in xmlsitemap_engines/
tests/ modules/ xmlsitemap_engines_test/ xmlsitemap_engines_test.module - Implements hook_xmlsitemap_engine_info_alter().
1 invocation of hook_xmlsitemap_engine_info_alter()
- 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 27 - Hooks provided by the XML sitemap engines module.
Code
function hook_xmlsitemap_engine_info_alter(&$engines) {
$engines['example']['name'] = t('Kitten Search');
$engines['example']['url'] = 'http://kittens.com/ping?sitemap=[sitemap]';
}