You are here

class FileValidationConstraint in Drupal 8

Same name and namespace in other branches
  1. 9 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\Constraint
View source
class FileValidationConstraint extends Constraint {

}

Members