You are here

editor.routing.yml in Drupal 9

Same filename and directory in other branches
  1. 8 core/modules/editor/editor.routing.yml
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.field_untransformed_text:
  8. path: '/editor/{entity_type}/{entity}/{field_name}/{langcode}/{view_mode_id}'
  9. defaults:
  10. _controller: '\Drupal\editor\EditorController::getUntransformedText'
  11. options:
  12. parameters:
  13. entity:
  14. type: entity:{entity_type}
  15. requirements:
  16. _permission: 'access in-place editing'
  17. _access_quickedit_entity_field: 'TRUE'
  18. editor.image_dialog:
  19. path: '/editor/dialog/image/{editor}'
  20. defaults:
  21. _form: '\Drupal\editor\Form\EditorImageDialog'
  22. _title: 'Upload image'
  23. requirements:
  24. _entity_access: 'editor.use'
  25. editor.link_dialog:
  26. path: '/editor/dialog/link/{editor}'
  27. defaults:
  28. _form: '\Drupal\editor\Form\EditorLinkDialog'
  29. _title: 'Add link'
  30. requirements:
  31. _entity_access: 'editor.use'