You are here

filter.routing.yml in Zircon Profile 8

Same filename and directory in other branches
  1. 8.0 core/modules/filter/filter.routing.yml
core/modules/filter/filter.routing.yml

File

core/modules/filter/filter.routing.yml
View source
  1. filter.tips_all:
  2. path: '/filter/tips'
  3. defaults:
  4. _controller: '\Drupal\filter\Controller\FilterController::filterTips'
  5. _title: 'Compose tips'
  6. requirements:
  7. _access: 'TRUE'
  8. filter.tips:
  9. path: '/filter/tips/{filter_format}'
  10. defaults:
  11. _controller: '\Drupal\filter\Controller\FilterController::filterTips'
  12. _title: 'Compose tips'
  13. requirements:
  14. _entity_access: 'filter_format.use'
  15. filter.admin_overview:
  16. path: '/admin/config/content/formats'
  17. defaults:
  18. _entity_list: 'filter_format'
  19. _title: 'Text formats and editors'
  20. requirements:
  21. _permission: 'administer filters'
  22. filter.format_add:
  23. path: '/admin/config/content/formats/add'
  24. defaults:
  25. _entity_form: filter_format.add
  26. _title: 'Add text format'
  27. requirements:
  28. _entity_create_access: 'filter_format'
  29. entity.filter_format.edit_form:
  30. path: '/admin/config/content/formats/manage/{filter_format}'
  31. defaults:
  32. _entity_form: filter_format.edit
  33. _title_callback: '\Drupal\filter\Controller\FilterController::getLabel'
  34. requirements:
  35. _entity_access: 'filter_format.update'
  36. entity.filter_format.disable:
  37. path: '/admin/config/content/formats/manage/{filter_format}/disable'
  38. defaults:
  39. _entity_form: 'filter_format.disable'
  40. _title: 'Disable text format'
  41. requirements:
  42. _entity_access: 'filter_format.disable'