class FileValidationConstraint
Same name in other branches
- 9 core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraint.php \Drupal\file\Plugin\Validation\Constraint\FileValidationConstraint
- 10 core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraint.php \Drupal\file\Plugin\Validation\Constraint\FileValidationConstraint
- 11.x core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraint.php \Drupal\file\Plugin\Validation\Constraint\FileValidationConstraint
Validation File constraint.
Plugin annotation
@Constraint(
id = "FileValidation",
label = @Translation("File Validation", context = "Validation")
)
Hierarchy
- class \Drupal\file\Plugin\Validation\Constraint\FileValidationConstraint extends \Symfony\Component\Validator\Constraint
Expanded class hierarchy of FileValidationConstraint
File
-
core/
modules/ file/ src/ Plugin/ Validation/ Constraint/ FileValidationConstraint.php, line 15
Namespace
Drupal\file\Plugin\Validation\ConstraintView source
class FileValidationConstraint extends Constraint {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.