You are here

editor.routing.yml in Drupal 10

core/modules/editor/editor.routing.yml

File

core/modules/editor/editor.routing.yml
View source
  1. editor.filter_xss:
  2. path: '/editor/filter_xss/{filter_format}'
  3. defaults:
  4. _controller: '\Drupal\editor\EditorController::filterXss'
  5. requirements:
  6. _entity_access: 'filter_format.use'
  7. editor.image_dialog:
  8. path: '/editor/dialog/image/{editor}'
  9. defaults:
  10. _form: '\Drupal\editor\Form\EditorImageDialog'
  11. _title: 'Upload image'
  12. requirements:
  13. _entity_access: 'editor.use'
  14. editor.link_dialog:
  15. path: '/editor/dialog/link/{editor}'
  16. defaults:
  17. _form: '\Drupal\editor\Form\EditorLinkDialog'
  18. _title: 'Add link'
  19. requirements:
  20. _entity_access: 'editor.use'