function ToolbarItemDependencyConstraint::getRequiredOptions

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

File

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

Class

ToolbarItemDependencyConstraint
A CKEditor 5 toolbar item.

Namespace

Drupal\ckeditor5\Plugin\Validation\Constraint

Code

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

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