file.validator
Same name in other branches
- 11.x core/modules/file/file.services.yml \file.validator
Class
Drupal\file\Validation\FileValidator8 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.
File
-
core/
modules/ file/ file.services.yml
View source
- class: Drupal\file\Validation\FileValidator
- arguments:
- - '@file.recursive_validator'
- - '@validation.constraint'
- - '@event_dispatcher'
- - '@module_handler'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.