file.validator

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

Class

Drupal\file\Validation\FileValidator
8 string references to file.validator
FileUploadHandler::__construct in core/modules/file/src/Upload/FileUploadHandler.php
FileUploadHandlerTest::testLegacyExtensions in core/modules/file/tests/src/Kernel/FileUploadHandlerTest.php
Tests the legacy extension support.
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.
FileUploadResource::__construct in core/modules/file/src/Plugin/rest/resource/FileUploadResource.php
Constructs a Drupal\rest\Plugin\ResourceBase object.

... See full list

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.