class FileValidationConstraint in Drupal 9
Same name and namespace in other branches
- 8 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
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 {
}