You are here

node_accessibility.routing.yml in Node Accessibility 8

File

node_accessibility.routing.yml
View source
  1. node_accessibility.validate:
  2. path: '/node/{node}/accessibility/validate'
  3. defaults:
  4. _form: '\Drupal\node_accessibility\Form\ValidateForm'
  5. _title: 'Accessibility Validation'
  6. requirements:
  7. _node_accessibility_view_access_check: 'TRUE'
  8. node: ^\d+$
  9. options:
  10. _node_operation_route: TRUE
  11. node_accessibility.validate_revision:
  12. path: '/node/{node}/accessibility/validate/{node_revision}'
  13. defaults:
  14. _form: '\Drupal\node_accessibility\Form\ValidateRevisionForm'
  15. _title: 'Validate Revision'
  16. requirements:
  17. _access_node_revision: 'view'
  18. _node_accessibility_view_access_check: 'TRUE'
  19. node: ^\d+$
  20. node_revision: ^\d+$
  21. options:
  22. _node_operation_route: TRUE
  23. node_accessibility.settings:
  24. path: '/admin/config/accessibility/node_accessibility'
  25. defaults:
  26. _form: '\Drupal\node_accessibility\Form\SettingsForm'
  27. _title: 'Node Accessibility Settings'
  28. requirements:
  29. _permission: 'administer site configuration'