function FileExtensionConstraint::getDefaultOption
Same name in other branches
- 10 core/modules/file/src/Plugin/Validation/Constraint/FileExtensionConstraint.php \Drupal\file\Plugin\Validation\Constraint\FileExtensionConstraint::getDefaultOption()
File
-
core/
modules/ file/ src/ Plugin/ Validation/ Constraint/ FileExtensionConstraint.php, line 38
Class
- FileExtensionConstraint
- File extension constraint.
Namespace
Drupal\file\Plugin\Validation\ConstraintCode
public function getDefaultOption() : ?string {
return 'extensions';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.