file.validator

Same name in other branches
  1. 10 core/modules/file/file.services.yml \file.validator

Class

Drupal\file\Validation\FileValidator
4 string references to file.validator
FileUploadHandlerTest::testLockAcquireException in core/modules/file/tests/src/Kernel/FileUploadHandlerTest.php
Test the lock acquire exception.
FileUploadResource::create in core/modules/file/src/Plugin/rest/resource/FileUploadResource.php
Creates an instance of the plugin.
FileValidationConstraintValidator::create in core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraintValidator.php
Instantiates a new instance of this class.
FileValidatorTestBase::setUp in core/modules/file/tests/src/Kernel/Validation/FileValidatorTestBase.php

File

core/modules/file/file.services.yml

View source
  1. class: Drupal\file\Validation\FileValidator
  2. arguments:
  3. - '@file.recursive_validator'
  4. - '@validation.constraint'
  5. - '@event_dispatcher'
  6. - '@module_handler'

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