editor.routing.yml
Same filename in other branches
1 string reference to YAML keys in editor.routing.yml
- EditorDialogAccessTest::testEditorImageDialogAccess in core/
modules/ editor/ tests/ src/ Functional/ EditorDialogAccessTest.php - Test access to the editor image dialog.
File
-
core/
modules/ editor/ editor.routing.yml
View source
- editor.filter_xss:
- path: '/editor/filter_xss/{filter_format}'
- defaults:
- _controller: '\Drupal\editor\EditorController::filterXss'
- requirements:
- _entity_access: 'filter_format.use'
-
- editor.field_untransformed_text:
- path: '/editor/{entity_type}/{entity}/{field_name}/{langcode}/{view_mode_id}'
- defaults:
- _controller: '\Drupal\editor\EditorController::getUntransformedText'
- options:
- parameters:
- entity:
- type: entity:{entity_type}
- requirements:
- _permission: 'access in-place editing'
- _access_quickedit_entity_field: 'TRUE'
-
- editor.image_dialog:
- path: '/editor/dialog/image/{editor}'
- defaults:
- _form: '\Drupal\editor\Form\EditorImageDialog'
- _title: 'Upload image'
- requirements:
- _entity_access: 'editor.use'
-
- editor.link_dialog:
- path: '/editor/dialog/link/{editor}'
- defaults:
- _form: '\Drupal\editor\Form\EditorLinkDialog'
- _title: 'Add link'
- requirements:
- _entity_access: 'editor.use'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.