FileValidationConstraint.php in Drupal 8
Same filename and directory in other branches
Namespace
Drupal\file\Plugin\Validation\ConstraintFile
core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraint.phpView source
<?php
namespace Drupal\file\Plugin\Validation\Constraint;
use Symfony\Component\Validator\Constraint;
/**
* Validation File constraint.
*
* @Constraint(
* id = "FileValidation",
* label = @Translation("File Validation", context = "Validation")
* )
*/
class FileValidationConstraint extends Constraint {
}
Classes
Name | Description |
---|---|
FileValidationConstraint | Validation File constraint. |