simple_sitemap.routing.yml 1.16 KB
Newer Older
Pawel G's avatar
Pawel G committed
1 2 3
simple_sitemap.sitemap:
  path: '/sitemap.xml'
  defaults:
4
    _controller: '\Drupal\simple_sitemap\Controller\SimplesitemapController::getSitemap'
Pawel G's avatar
Pawel G committed
5 6 7 8
  requirements:
    _access: 'TRUE'

simple_sitemap.chunk:
9
  path: '/sitemaps/{chunk_id}/sitemap.xml'
Pawel G's avatar
Pawel G committed
10
  defaults:
11
    _controller: '\Drupal\simple_sitemap\Controller\SimplesitemapController::getSitemap'
Pawel G's avatar
Pawel G committed
12 13 14 15
  requirements:
    _access: 'TRUE'

simple_sitemap.settings:
Pawel G's avatar
Pawel G committed
16
  path: '/admin/config/search/simplesitemap'
Pawel G's avatar
Pawel G committed
17 18 19 20 21 22
  defaults:
    _form: '\Drupal\simple_sitemap\Form\SimplesitemapSettingsForm'
    _title: 'Simple XML Sitemap Settings'
  requirements:
    _permission: 'administer sitemap settings'

23 24 25 26 27 28 29 30
simple_sitemap.settings_entities:
  path: '/admin/config/search/simplesitemap/entities'
  defaults:
    _form: '\Drupal\simple_sitemap\Form\SimplesitemapEntitiesForm'
    _title: 'Simple XML Sitemap Settings'
  requirements:
    _permission: 'administer sitemap settings'

Pawel G's avatar
Pawel G committed
31
simple_sitemap.settings_custom:
Pawel G's avatar
Pawel G committed
32
  path: '/admin/config/search/simplesitemap/custom'
Pawel G's avatar
Pawel G committed
33 34 35 36 37
  defaults:
    _form: '\Drupal\simple_sitemap\Form\SimplesitemapCustomLinksForm'
    _title: 'Simple XML Sitemap Settings'
  requirements:
    _permission: 'administer sitemap settings'