class SourceEditingPreventSelfXssConstraint

Same name in other branches
  1. 9 core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingPreventSelfXssConstraint.php \Drupal\ckeditor5\Plugin\Validation\Constraint\SourceEditingPreventSelfXssConstraint
  2. 11.x 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

Expanded class hierarchy of SourceEditingPreventSelfXssConstraint

File

core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingPreventSelfXssConstraint.php, line 16

Namespace

Drupal\ckeditor5\Plugin\Validation\Constraint
View 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.