function simplesitemap_install in Simple XML sitemap 8
Implements hook_install().
File
- ./
simplesitemap.install, line 81 - Module install and update procedures.
Code
function simplesitemap_install() {
$base_url = $GLOBALS['base_url'];
drupal_set_message(t("You can now include content into the <a href='@sitemap_url' target='_blank'>XML sitemap</a> by visiting the corresponding entity type edit pages (e.g. <a href='@content_type_url' target='_blank'>content type</a>, <a href='@taxonomy_vocabulary_url' target='_blank'>taxonomy vocabulary</a>, <a href='@menu_url' target='_blank'>menu</a> and <a href='@user_url' target='_blank'>user</a> pages.)<br/>Custom links can be added on <a href='@config_url' target='_blank'>this configuration page</a>.", array(
'@sitemap_url' => "{$base_url}/sitemap.xml",
'@content_type_url' => "{$base_url}/admin/structure/types",
'@taxonomy_vocabulary_url' => "{$base_url}/admin/structure/taxonomy",
'@menu_url' => "{$base_url}/admin/structure/menu",
'@user_url' => "{$base_url}/admin/config/people/accounts",
'@config_url' => "{$base_url}/admin/config/search/simplesitemap/custom",
)));
}