You are here

high_contrast.routing.yml in High contrast 8

File

high_contrast.routing.yml
View source
  1. high_contrast.config_form:
  2. path: '/admin/config/user-interface/high-contrast'
  3. defaults:
  4. _form: 'Drupal\high_contrast\Form\HighContrastConfigurationForm'
  5. _title: 'High contrast'
  6. requirements:
  7. _permission: 'administer site configuration'
  8. high_contrast.enable:
  9. path: '/high-contrast/enable'
  10. defaults:
  11. _controller: 'Drupal\high_contrast\HighContrastController::enable'
  12. requirements:
  13. _access: 'TRUE'
  14. high_contrast.disable:
  15. path: '/high-contrast/disable'
  16. defaults:
  17. _controller: 'Drupal\high_contrast\HighContrastController::disable'
  18. requirements:
  19. _access: 'TRUE'