Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. file.services.yml

file.repository

Class

Drupal\file\FileRepository
4 string references to file.repository
EditorHooks::fileDownload in core/modules/editor/src/Hook/EditorHooks.php
Implements hook_file_download().
FileHooks::fileDownload in core/modules/file/src/Hook/FileHooks.php
Implements hook_file_download().
FileItem::generateSampleValue in core/modules/file/src/Plugin/Field/FieldType/FileItem.php
FileUploadForm::create in core/modules/media_library/src/Form/FileUploadForm.php
Instantiates a new instance of this class.

File

core/modules/file/file.services.yml

View source
  1. class: Drupal\file\FileRepository
  2. arguments:
  3. - '@file_system'
  4. - '@stream_wrapper_manager'
  5. - '@entity_type.manager'
  6. - '@module_handler'
  7. - '@file.usage'
  8. - '@current_user'
RSS feed
Powered by Drupal