You are here

ckeditor5.services.yml in Drupal 10

core/modules/ckeditor5/ckeditor5.services.yml

File

core/modules/ckeditor5/ckeditor5.services.yml
View source
  1. services:
  2. plugin.manager.ckeditor5.plugin:
  3. class: Drupal\ckeditor5\Plugin\CKEditor5PluginManager
  4. parent: default_plugin_manager
  5. # @todo Remove in Drupal 11: https://www.drupal.org/project/ckeditor5/issues/3239012
  6. plugin.manager.ckeditor4to5upgrade.plugin:
  7. public: false
  8. class: Drupal\ckeditor5\Plugin\CKEditor4To5UpgradePluginManager
  9. parent: default_plugin_manager
  10. ckeditor5.smart_default_settings:
  11. class: Drupal\ckeditor5\SmartDefaultSettings
  12. arguments:
  13. - '@plugin.manager.ckeditor5.plugin'
  14. - '@plugin.manager.ckeditor4to5upgrade.plugin'
  15. - '@logger.channel.ckeditor5'
  16. - '@module_handler'
  17. - '@current_user'
  18. ckeditor5.stylesheets.message:
  19. class: Drupal\ckeditor5\CKEditor5StylesheetsMessage
  20. arguments:
  21. - '@theme_handler'
  22. - '@config.factory'
  23. ckeditor5.ckeditor5_cache_tag:
  24. class: Drupal\ckeditor5\EventSubscriber\CKEditor5CacheTag
  25. arguments: ['@cache_tags.invalidator']
  26. tags:
  27. - { name: event_subscriber }
  28. logger.channel.ckeditor5:
  29. parent: logger.channel_base
  30. arguments: [ 'ckeditor5' ]