file.upload_handler

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

Class

Drupal\file\Upload\FileUploadHandler
2 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

View source
  1. class: Drupal\file\Upload\FileUploadHandler
  2. arguments:
  3. - '@file_system'
  4. - '@entity_type.manager'
  5. - '@stream_wrapper_manager'
  6. - '@event_dispatcher'
  7. - '@file.mime_type.guesser'
  8. - '@current_user'
  9. - '@request_stack'

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