You are here

function simple_sitemap_install in Simple XML sitemap 8.2

Implements hook_install().

File

./simple_sitemap.install, line 134
Module install and update procedures.

Code

function simple_sitemap_install() {
  $base_url = $GLOBALS['base_url'];
  drupal_set_message(t("You can now include content into the sitemap by visiting the corresponding entity type edit pages (e.g. <a href='@content_type_url'>node type edit pages</a>).<br/>Support for additional entity types and custom links can be added on <a href='@config_url'>the module's configuration pages</a>.", [
    '@content_type_url' => "{$base_url}/admin/structure/types",
    '@config_url' => "{$base_url}/admin/config/search/simplesitemap",
  ]));
}