You are here

editor.routing.yml in Zircon Profile 8

Same filename and directory in other branches
  1. 8.0 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. _theme: ajax_base_page
  13. parameters:
  14. entity:
  15. type: entity:{entity_type}
  16. requirements:
  17. _permission: 'access in-place editing'
  18. _access_quickedit_entity_field: 'TRUE'
  19. editor.image_dialog:
  20. path: '/editor/dialog/image/{filter_format}'
  21. defaults:
  22. _form: '\Drupal\editor\Form\EditorImageDialog'
  23. _title: 'Upload image'
  24. requirements:
  25. _entity_access: 'filter_format.use'
  26. editor.link_dialog:
  27. path: '/editor/dialog/link/{filter_format}'
  28. defaults:
  29. _form: '\Drupal\editor\Form\EditorLinkDialog'
  30. _title: 'Add link'
  31. requirements:
  32. _entity_access: 'filter_format.use'