ckeditor5.routing.yml in Drupal 10
core/modules/ckeditor5/ckeditor5.routing.yml
3 string references to YAML keys in ckeditor5.routing.yml
- ImageUpload::getDynamicPluginConfig in core/
modules/ ckeditor5/ src/ Plugin/ CKEditor5Plugin/ ImageUpload.php - ImageUploadTest::getUploadUrl in core/
modules/ ckeditor5/ tests/ src/ Functional/ ImageUploadTest.php - Provides the image upload url.
- Media::getDynamicPluginConfig in core/
modules/ ckeditor5/ src/ Plugin/ CKEditor5Plugin/ Media.php
File
core/modules/ckeditor5/ckeditor5.routing.ymlView source
- ckeditor5.upload_image:
- path: '/ckeditor5/upload-image/{editor}'
- defaults:
- _controller: '\Drupal\ckeditor5\Controller\CKEditor5ImageController::upload'
- methods: [POST]
- requirements:
- _entity_access: 'editor.use'
- _custom_access: '\Drupal\ckeditor5\Controller\CKEditor5ImageController::imageUploadEnabledAccess'
- _csrf_token: 'TRUE'
- options:
- parameters:
- editor:
- type: entity:editor
-
- ckeditor5.media_entity_metadata:
- path: '/ckeditor5/{editor}/media-entity-metadata'
- defaults:
- _controller: '\Drupal\ckeditor5\Controller\CKEditor5MediaController::mediaEntityMetadata'
- methods: [GET]
- requirements:
- _entity_access: 'editor.use'
- _custom_access: '\Drupal\ckeditor5\Controller\CKEditor5MediaController::access'
- _csrf_token: 'TRUE'
- options:
- parameters:
- editor:
- type: entity:editor