function SmartDefaultSettings::__construct

Same name and namespace in other branches
  1. 11.x core/modules/ckeditor5/src/SmartDefaultSettings.php \Drupal\ckeditor5\SmartDefaultSettings::__construct()
  2. 10 core/modules/ckeditor5/src/SmartDefaultSettings.php \Drupal\ckeditor5\SmartDefaultSettings::__construct()
  3. 9 core/modules/ckeditor5/src/SmartDefaultSettings.php \Drupal\ckeditor5\SmartDefaultSettings::__construct()

File

core/modules/ckeditor5/src/SmartDefaultSettings.php, line 32

Class

SmartDefaultSettings
Generates CKEditor 5 settings for existing text editors/formats.

Namespace

Drupal\ckeditor5

Code

public function __construct(protected CKEditor5PluginManagerInterface $pluginManager, #[Autowire(service: 'logger.channel.ckeditor5')] protected LoggerInterface $logger, protected ModuleHandlerInterface $moduleHandler, protected AccountInterface $currentUser) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.