function PluginExistsConstraint::getRequiredOptions
Same name in other branches
- 10 core/lib/Drupal/Core/Plugin/Plugin/Validation/Constraint/PluginExistsConstraint.php \Drupal\Core\Plugin\Plugin\Validation\Constraint\PluginExistsConstraint::getRequiredOptions()
File
-
core/
lib/ Drupal/ Core/ Plugin/ Plugin/ Validation/ Constraint/ PluginExistsConstraint.php, line 97
Class
- PluginExistsConstraint
- Checks if a plugin exists and optionally implements a particular interface.
Namespace
Drupal\Core\Plugin\Plugin\Validation\ConstraintCode
public function getRequiredOptions() : array {
return [
'manager',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.