FileValidationConstraint.php

Same filename in other branches
  1. 9 core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraint.php
  2. 8.9.x core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraint.php
  3. 10 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 Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\Core\Validation\Attribute\Constraint;
use Symfony\Component\Validator\Constraint as SymfonyConstraint;

/**
 * Validation File constraint.
 */
class FileValidationConstraint extends SymfonyConstraint {

}

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.