function SourceEditingPreventSelfXssConstraint::__construct
Attributes
#[HasNamedArguments]
File
-
core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ SourceEditingPreventSelfXssConstraint.php, line 23
Class
- SourceEditingPreventSelfXssConstraint
- For disallowing Source Editing configuration that allows self-XSS.
Namespace
Drupal\ckeditor5\Plugin\Validation\ConstraintCode
public function __construct(mixed $options = NULL, public $message = 'The following tag in the Source Editing "Manually editable HTML tags" field is a security risk: %dangerous_tag.', ?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.