You are here

simple_styleguide.routing.yml in Simple Style Guide 8

File

simple_styleguide.routing.yml
View source
  1. simple_styleguide.controller:
  2. path: '/simple-styleguide'
  3. defaults:
  4. _controller: '\Drupal\simple_styleguide\Controller\DefaultController::index'
  5. _title: 'Simple Styleguide'
  6. requirements:
  7. _permission: 'access style guide'
  8. simple_styleguide.configuration_panel:
  9. path: '/admin/config/styleguide'
  10. defaults:
  11. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  12. _title: 'Styleguide'
  13. requirements:
  14. _permission: 'administer site configuration'
  15. simple_styleguide.styleguide_settings:
  16. path: '/admin/config/styleguide/settings'
  17. defaults:
  18. _form: '\Drupal\simple_styleguide\Form\StyleguideSettings'
  19. _title: 'Settings'
  20. requirements:
  21. _permission: 'administer site configuration'
  22. options:
  23. _admin_route: TRUE