function ExtensionExistsConstraint::getRequiredOptions
Same name in other branches
- 11.x core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraint.php \Drupal\Core\Extension\Plugin\Validation\Constraint\ExtensionExistsConstraint::getRequiredOptions()
File
-
core/
lib/ Drupal/ Core/ Extension/ Plugin/ Validation/ Constraint/ ExtensionExistsConstraint.php, line 44
Class
- ExtensionExistsConstraint
- Checks that the value is the name of an installed extension.
Namespace
Drupal\Core\Extension\Plugin\Validation\ConstraintCode
public function getRequiredOptions() {
return [
'type',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.