file.repository
Same name in other branches
- 9 core/modules/file/file.services.yml \file.repository
- 11.x core/modules/file/file.services.yml \file.repository
Class
Drupal\file\FileRepository16 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 - FileMoveTest::setUp in core/
modules/ image/ tests/ src/ Kernel/ FileMoveTest.php
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'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.