simplesitemap.routing.yml 915 Bytes
Newer Older
gbyte.co's avatar
gbyte.co committed
1 2 3
simplesitemap.sitemap:
 path: '/sitemap.xml'
 defaults:
4
   _controller: '\Drupal\simplesitemap\Controller\SimplesitemapController::get_sitemap'
gbyte.co's avatar
gbyte.co committed
5 6
 requirements:
   _permission: 'access content'
7

8 9 10 11 12 13 14
simplesitemap.chunk:
 path: '/sitemaps/{sitemap_id}/sitemap.xml'
 defaults:
   _controller: '\Drupal\simplesitemap\Controller\SimplesitemapController::get_sitemap'
 requirements:
   _permission: 'access content'

15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
simplesitemap.settings:
 path: '/admin/config/search/simplesitemap'
 defaults:
    _form: '\Drupal\simplesitemap\Form\SimplesitemapSettingsForm'
    _title: 'Simple XML Sitemap Settings'
 requirements:
   _permission: 'administer sitemap settings'

simplesitemap.settings_custom:
  path: '/admin/config/search/simplesitemap/custom'
  defaults:
     _form: '\Drupal\simplesitemap\Form\SimplesitemapCustomLinksForm'
     _title: 'Simple XML Sitemap Settings'
  requirements:
    _permission: 'add custom links'