service file.upload_handler in Drupal 10
Class
Drupal\file\Upload\FileUploadHandler2 string references to file.upload_handler
- FileUploadHandlerTest::setUp in core/
modules/ file/ tests/ src/ Kernel/ FileUploadHandlerTest.php - file_save_upload in core/
modules/ file/ file.module - Saves file uploads to a new location.
File
- core/
modules/ file/ file.services.yml - core/modules/file/file.services.yml
View source
- class: Drupal\file\Upload\FileUploadHandler
- arguments:
- - '@file_system'
- - '@entity_type.manager'
- - '@stream_wrapper_manager'
- - '@event_dispatcher'
- - '@file.mime_type.guesser'
- - '@current_user'
- - '@request_stack'