FileExtensionConstraint::$extensions
Same name in other branches
- 11.x core/modules/file/src/Plugin/Validation/Constraint/FileExtensionConstraint.php \Drupal\file\Plugin\Validation\Constraint\FileExtensionConstraint::extensions
The allowed file extensions.
Type: string
File
-
core/
modules/ file/ src/ Plugin/ Validation/ Constraint/ FileExtensionConstraint.php, line 33
Class
- FileExtensionConstraint
- File extension constraint.
Namespace
Drupal\file\Plugin\Validation\ConstraintCode
public string $extensions;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.