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

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

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

simplesitemap.settings_custom:
  path: '/admin/config/search/simplesitemap/custom'
  defaults:
26 27
    _form: '\Drupal\simplesitemap\Form\SimplesitemapCustomLinksForm'
    _title: 'Simple XML Sitemap Settings'
28
  requirements:
29
    _permission: 'administer sitemap settings'