namespace Drupal\file\Plugin\Validation\Constraint

Same name in other branches
  1. 8.9.x Drupal\file\Plugin\Validation\Constraint
  2. 9 Drupal\file\Plugin\Validation\Constraint
  3. 10 Drupal\file\Plugin\Validation\Constraint
Object name File name Summary
BaseFileConstraintValidator core/modules/file/src/Plugin/Validation/Constraint/BaseFileConstraintValidator.php Provides a base class for file constraint validators.
FileEncodingConstraint core/modules/file/src/Plugin/Validation/Constraint/FileEncodingConstraint.php Defines an encoding constraint for files.
FileEncodingConstraintValidator core/modules/file/src/Plugin/Validation/Constraint/FileEncodingConstraintValidator.php Validates the file encoding constraint.
FileExtensionConstraint core/modules/file/src/Plugin/Validation/Constraint/FileExtensionConstraint.php File extension constraint.
FileExtensionConstraintValidator core/modules/file/src/Plugin/Validation/Constraint/FileExtensionConstraintValidator.php Validates the file extension constraint.
FileExtensionSecureConstraint core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraint.php File extension secure constraint.
FileExtensionSecureConstraintValidator core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidator.php Validator for the FileExtensionSecureConstraint.
FileImageDimensionsConstraint core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraint.php File extension dimensions constraint.
FileImageDimensionsConstraintValidator core/modules/file/src/Plugin/Validation/Constraint/FileImageDimensionsConstraintValidator.php Validator for the FileImageDimensionsConstraint.
FileIsImageConstraint core/modules/file/src/Plugin/Validation/Constraint/FileIsImageConstraint.php File is image constraint.
FileIsImageConstraintValidator core/modules/file/src/Plugin/Validation/Constraint/FileIsImageConstraintValidator.php Validator for the FileIsImageConstraint.
FileNameLengthConstraint core/modules/file/src/Plugin/Validation/Constraint/FileNameLengthConstraint.php File name length constraint.
FileNameLengthConstraintValidator core/modules/file/src/Plugin/Validation/Constraint/FileNameLengthConstraintValidator.php Validates the file name length constraint.
FileSizeLimitConstraint core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraint.php File size max constraint.
FileSizeLimitConstraintValidator core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraintValidator.php Validates the FileSizeLimitConstraint.
FileUriUnique core/modules/file/src/Plugin/Validation/Constraint/FileUriUnique.php Supports validating file URIs.
FileValidationConstraint core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraint.php Validation File constraint.
FileValidationConstraintValidator core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraintValidator.php Checks that a file referenced in a file field is valid.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.