file.repository
Class
Drupal\file\FileRepository4 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
- class: Drupal\file\FileRepository
- arguments:
- - '@file_system'
- - '@stream_wrapper_manager'
- - '@entity_type.manager'
- - '@module_handler'
- - '@file.usage'
- - '@current_user'