Issue #3231364 by Wim Leers, lauriii, bnjmnm, webchick, xjm, tim.plunkett, larowlan, Luke.Leber, catch, effulgentsia, longwave, gabesullice, caldenjacobs, Reinmar, anand.toshniwal93, Shoshana Mayden, zrpnr, yash.rode, nod_, rkoller, antojose, johnwebdev: Add CKEditor 5 module to Drupal core
2021-11-11 22:10:39 +00:00
|
|
|
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
|
|
|
|
|
2022-02-17 14:58:57 +00:00
|
|
|
ckeditor5.media_entity_metadata:
|
|
|
|
path: '/ckeditor5/{editor}/media-entity-metadata'
|
Issue #3231364 by Wim Leers, lauriii, bnjmnm, webchick, xjm, tim.plunkett, larowlan, Luke.Leber, catch, effulgentsia, longwave, gabesullice, caldenjacobs, Reinmar, anand.toshniwal93, Shoshana Mayden, zrpnr, yash.rode, nod_, rkoller, antojose, johnwebdev: Add CKEditor 5 module to Drupal core
2021-11-11 22:10:39 +00:00
|
|
|
defaults:
|
2022-02-17 14:58:57 +00:00
|
|
|
_controller: '\Drupal\ckeditor5\Controller\CKEditor5MediaController::mediaEntityMetadata'
|
Issue #3231364 by Wim Leers, lauriii, bnjmnm, webchick, xjm, tim.plunkett, larowlan, Luke.Leber, catch, effulgentsia, longwave, gabesullice, caldenjacobs, Reinmar, anand.toshniwal93, Shoshana Mayden, zrpnr, yash.rode, nod_, rkoller, antojose, johnwebdev: Add CKEditor 5 module to Drupal core
2021-11-11 22:10:39 +00:00
|
|
|
methods: [GET]
|
|
|
|
requirements:
|
|
|
|
_entity_access: 'editor.use'
|
|
|
|
_custom_access: '\Drupal\ckeditor5\Controller\CKEditor5MediaController::access'
|
|
|
|
_csrf_token: 'TRUE'
|
|
|
|
options:
|
|
|
|
parameters:
|
|
|
|
editor:
|
|
|
|
type: entity:editor
|