function UniqueLabelInListConstraint::getRequiredOptions

Same name in other branches
  1. 10 core/modules/ckeditor5/src/Plugin/Validation/Constraint/UniqueLabelInListConstraint.php \Drupal\ckeditor5\Plugin\Validation\Constraint\UniqueLabelInListConstraint::getRequiredOptions()
  2. 11.x core/modules/ckeditor5/src/Plugin/Validation/Constraint/UniqueLabelInListConstraint.php \Drupal\ckeditor5\Plugin\Validation\Constraint\UniqueLabelInListConstraint::getRequiredOptions()

File

core/modules/ckeditor5/src/Plugin/Validation/Constraint/UniqueLabelInListConstraint.php, line 38

Class

UniqueLabelInListConstraint
Uniquely labeled list item constraint.

Namespace

Drupal\ckeditor5\Plugin\Validation\Constraint

Code

public function getRequiredOptions() {
    return [
        'labelKey',
    ];
}

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