file.services.yml in Drupal 10
Same filename and directory in other branches
core/modules/file/file.services.yml
File
core/modules/file/file.services.ymlView source
- services:
- file.usage:
- class: Drupal\file\FileUsage\DatabaseFileUsageBackend
- arguments: ['@config.factory', '@database', 'file_usage']
- tags:
- - { name: backend_overridable }
- file.upload_handler:
- class: Drupal\file\Upload\FileUploadHandler
- arguments: [ '@file_system', '@entity_type.manager', '@stream_wrapper_manager', '@event_dispatcher', '@file.mime_type.guesser', '@current_user', '@request_stack' ]
- file.repository:
- class: Drupal\file\FileRepository
- arguments: [ '@file_system', '@stream_wrapper_manager', '@entity_type.manager', '@module_handler', '@file.usage', '@current_user' ]