simple_sitemap.routing.yml 920 Bytes
Newer Older
gbyte.co's avatar
gbyte.co committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
simple_sitemap.sitemap:
  path: '/sitemap.xml'
  defaults:
    _controller: '\Drupal\simple_sitemap\Controller\SimplesitemapController::get_sitemap'
  requirements:
    _access: 'TRUE'

simple_sitemap.chunk:
  path: '/sitemaps/{sitemap_id}/sitemap.xml'
  defaults:
    _controller: '\Drupal\simple_sitemap\Controller\SimplesitemapController::get_sitemap'
  requirements:
    _access: 'TRUE'

simple_sitemap.settings:
  path: '/admin/config/search/simple_sitemap'
  defaults:
    _form: '\Drupal\simple_sitemap\Form\SimplesitemapSettingsForm'
    _title: 'Simple XML Sitemap Settings'
  requirements:
    _permission: 'administer sitemap settings'

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