function UploadedFileValidator::__construct

Same name in other branches
  1. 10 core/modules/file/src/Validation/UploadedFileValidator.php \Drupal\file\Validation\UploadedFileValidator::__construct()

Creates a new UploadedFileValidator.

Parameters

\Drupal\Core\Validation\BasicRecursiveValidatorFactory $validatorFactory: The validator factory.

File

core/modules/file/src/Validation/UploadedFileValidator.php, line 31

Class

UploadedFileValidator
Validator for uploaded files.

Namespace

Drupal\file\Validation

Code

public function __construct(BasicRecursiveValidatorFactory $validatorFactory) {
}

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