FileValidationConstraint.php

Same filename in other branches
  1. 9 core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraint.php
  2. 10 core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraint.php
  3. 11.x core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraint.php

Namespace

Drupal\file\Plugin\Validation\Constraint

File

core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraint.php

View 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

Title Deprecated Summary
FileValidationConstraint Validation File constraint.

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