function ToolbarItemConditionsMetConstraint::__construct
Same name and namespace in other branches
- main core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemConditionsMetConstraint.php \Drupal\ckeditor5\Plugin\Validation\Constraint\ToolbarItemConditionsMetConstraint::__construct()
File
-
core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ ToolbarItemConditionsMetConstraint.php, line 22
Class
- ToolbarItemConditionsMetConstraint
- A (placed) CKEditor 5 toolbar item's conditions must be met.
Namespace
Drupal\ckeditor5\Plugin\Validation\ConstraintCode
public function __construct(mixed $options = NULL, public $imageUploadStatusRequiredMessage = 'The %toolbar_item toolbar item requires image uploads to be enabled.', public $filterRequiredMessage = 'The %toolbar_item toolbar item requires the %filter filter to be enabled.', public $singleMissingRequiredPluginMessage = 'The %toolbar_item toolbar item requires the %plugin plugin to be enabled.', public $multipleMissingRequiredPluginMessage = 'The %toolbar_item toolbar item requires the %plugins plugins to be enabled.', ?array $groups = NULL, mixed $payload = NULL) {
parent::__construct($options, $groups, $payload);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.