FileUploadHandler::$fileValidator

Same name in other branches
  1. 11.x core/modules/file/src/Upload/FileUploadHandler.php \Drupal\file\Upload\FileUploadHandler::fileValidator

The file validator.

Type: \Drupal\file\Validation\FileValidatorInterface

File

core/modules/file/src/Upload/FileUploadHandler.php, line 105

Class

FileUploadHandler
Handles validating and creating file entities from file uploads.

Namespace

Drupal\file\Upload

Code

protected FileValidatorInterface $fileValidator;

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