service file.repository in Drupal 10
Class
Drupal\file\FileRepository17 string references to file.repository
- CopyTest::setUp in core/
modules/ file/ tests/ src/ Kernel/ CopyTest.php - editor_file_download in core/
modules/ editor/ editor.module - Implements hook_file_download().
- FileFieldWidgetTest::createTemporaryFile in core/
modules/ file/ tests/ src/ Functional/ FileFieldWidgetTest.php - Creates a temporary file, for a specific user.
- FileItem::generateSampleValue in core/
modules/ file/ src/ Plugin/ Field/ FieldType/ FileItem.php - Generates placeholder field values.
- FileMoveTest::setUp in core/
modules/ image/ tests/ src/ Functional/ FileMoveTest.php
File
- core/
modules/ file/ file.services.yml - 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'