drupal/core/modules/ckeditor5/ckeditor5.services.yml

31 lines
1.1 KiB
YAML

services:
plugin.manager.ckeditor5.plugin:
class: Drupal\ckeditor5\Plugin\CKEditor5PluginManager
parent: default_plugin_manager
# @todo Remove in Drupal 11: https://www.drupal.org/project/ckeditor5/issues/3239012
plugin.manager.ckeditor4to5upgrade.plugin:
public: false
class: Drupal\ckeditor5\Plugin\CKEditor4To5UpgradePluginManager
parent: default_plugin_manager
ckeditor5.smart_default_settings:
class: Drupal\ckeditor5\SmartDefaultSettings
arguments:
- '@plugin.manager.ckeditor5.plugin'
- '@plugin.manager.ckeditor4to5upgrade.plugin'
- '@logger.channel.ckeditor5'
- '@module_handler'
- '@current_user'
ckeditor5.stylesheets.message:
class: Drupal\ckeditor5\CKEditor5StylesheetsMessage
arguments:
- '@theme_handler'
- '@config.factory'
ckeditor5.ckeditor5_cache_tag:
class: Drupal\ckeditor5\EventSubscriber\CKEditor5CacheTag
arguments: ['@cache_tags.invalidator']
tags:
- { name: event_subscriber }
logger.channel.ckeditor5:
parent: logger.channel_base
arguments: [ 'ckeditor5' ]