You are here

function simple_sitemap_views_install in Simple XML sitemap 4.x

Same name and namespace in other branches
  1. 8.3 modules/simple_sitemap_views/simple_sitemap_views.install \simple_sitemap_views_install()

Implements hook_install().

File

modules/simple_sitemap_views/simple_sitemap_views.install, line 11
Install and uninstall hooks for the simple_sitemap_views module.

Code

function simple_sitemap_views_install() {

  // Enable views display extender plugin.
  \Drupal::service('simple_sitemap.views')
    ->enable();
}