class SourceEditingPreventSelfXssConstraint
Same name in other branches
- 9 core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingPreventSelfXssConstraint.php \Drupal\ckeditor5\Plugin\Validation\Constraint\SourceEditingPreventSelfXssConstraint
- 10 core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingPreventSelfXssConstraint.php \Drupal\ckeditor5\Plugin\Validation\Constraint\SourceEditingPreventSelfXssConstraint
For disallowing Source Editing configuration that allows self-XSS.
@internal
Hierarchy
- class \Drupal\ckeditor5\Plugin\Validation\Constraint\SourceEditingPreventSelfXssConstraint extends \Symfony\Component\Validator\Constraint
Expanded class hierarchy of SourceEditingPreventSelfXssConstraint
File
-
core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ SourceEditingPreventSelfXssConstraint.php, line 16
Namespace
Drupal\ckeditor5\Plugin\Validation\ConstraintView source
class SourceEditingPreventSelfXssConstraint extends SymfonyConstraint {
/**
* When Source Editing is configured to allow self-XSS.
*
* @var string
*/
public $message = 'The following tag in the Source Editing "Manually editable HTML tags" field is a security risk: %dangerous_tag.';
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
SourceEditingPreventSelfXssConstraint::$message | public | property | When Source Editing is configured to allow self-XSS. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.