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