You are here

markdown.routing.yml in Markdown 8.2

File

markdown.routing.yml
View source
  1. markdown.overview:
  2. path: '/admin/config/content/markdown'
  3. defaults:
  4. _form: Drupal\markdown\Form\OverviewForm
  5. _title: 'Markdown'
  6. options:
  7. _admin_route: TRUE
  8. requirements:
  9. _permission: 'administer markdown'
  10. markdown.parser.edit:
  11. path: '/admin/config/content/markdown/{parser}'
  12. defaults:
  13. _form: Drupal\markdown\Form\ParserConfigurationForm
  14. _title: 'Configure'
  15. options:
  16. _admin_route: TRUE
  17. parameters:
  18. parser:
  19. type: markdown:parser
  20. requirements:
  21. _permission: 'administer markdown'
  22. parser: '[\w_-]+'
  23. markdown.parser.operation:
  24. path: '/admin/config/content/markdown/{parser}/operation/{operation}'
  25. defaults:
  26. _controller: Drupal\markdown\Form\ParserOperationForm::executeOperation
  27. _title: 'Operation'
  28. options:
  29. _admin_route: TRUE
  30. parameters:
  31. parser:
  32. type: markdown:parser
  33. requirements:
  34. _csrf_token: 'TRUE'
  35. _permission: 'administer markdown'
  36. parser: '[\w_-]+'
  37. markdown.parser.confirm_operation:
  38. path: '/admin/config/content/markdown/{parser}/confirm-operation/{operation}'
  39. defaults:
  40. _form: Drupal\markdown\Form\ParserOperationForm
  41. _title: 'Confirm Parser Operation'
  42. options:
  43. _admin_route: TRUE
  44. parameters:
  45. parser:
  46. type: markdown:parser
  47. requirements:
  48. _permission: 'administer markdown'
  49. parser: '[\w_-]+'