function PluginManagerDependentValidatorTrait::__construct
Same name in other branches
- 9 core/modules/ckeditor5/src/Plugin/Validation/Constraint/PluginManagerDependentValidatorTrait.php \Drupal\ckeditor5\Plugin\Validation\Constraint\PluginManagerDependentValidatorTrait::__construct()
- 10 core/modules/ckeditor5/src/Plugin/Validation/Constraint/PluginManagerDependentValidatorTrait.php \Drupal\ckeditor5\Plugin\Validation\Constraint\PluginManagerDependentValidatorTrait::__construct()
Constructs a CKEditor5ConstraintValidatorTrait object.
Parameters
\Drupal\ckeditor5\Plugin\CKEditor5PluginManagerInterface $plugin_manager: The CKEditor 5 plugin manager.
1 method overrides PluginManagerDependentValidatorTrait::__construct()
- CKEditor5MediaAndFilterSettingsInSyncConstraintValidator::__construct in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ CKEditor5MediaAndFilterSettingsInSyncConstraintValidator.php - Constructs a new CKEditor5MediaAndFilterSettingsInSyncConstraintValidator.
File
-
core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ PluginManagerDependentValidatorTrait.php, line 34
Class
- PluginManagerDependentValidatorTrait
- Common functionality for many CKEditor 5 validation constraints.
Namespace
Drupal\ckeditor5\Plugin\Validation\ConstraintCode
public function __construct(CKEditor5PluginManagerInterface $plugin_manager) {
$this->pluginManager = $plugin_manager;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.