CKEditor5ElementConstraint::$requiredAttributes

Same name in other branches
  1. 10 core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5ElementConstraint.php \Drupal\ckeditor5\Plugin\Validation\Constraint\CKEditor5ElementConstraint::requiredAttributes
  2. 11.x core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5ElementConstraint.php \Drupal\ckeditor5\Plugin\Validation\Constraint\CKEditor5ElementConstraint::requiredAttributes

Validation constraint option to impose attributes to be specified.

Type: null|array

File

core/modules/ckeditor5/src/Plugin/Validation/Constraint/CKEditor5ElementConstraint.php, line 45

Class

CKEditor5ElementConstraint
CKEditor 5 element.

Namespace

Drupal\ckeditor5\Plugin\Validation\Constraint

Code

public $requiredAttributes = NULL;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.