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

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

simple_sitemap.settings:
gbyte.co's avatar
gbyte.co committed
16
  path: '/admin/config/search/simplesitemap'
gbyte.co's avatar
gbyte.co 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'

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