file_url_generator
Same name in other branches
- 9 core/core.services.yml \file_url_generator
Class
Drupal\Core\File\FileUrlGenerator35 string references to file_url_generator
- AttachedAssetsTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AttachedAssetsTest.php - BaseFieldFileFormatterBase::create in core/
modules/ file/ src/ Plugin/ Field/ FieldFormatter/ BaseFieldFileFormatterBase.php - Creates an instance of the plugin.
- ComputedFileUrl::getValue in core/
modules/ file/ src/ ComputedFileUrl.php - Gets the data value.
- DownloadTest::setUp in core/
modules/ file/ tests/ src/ Functional/ DownloadTest.php - EngineTwigTest::testTwigFileUrls in core/
modules/ system/ tests/ src/ Functional/ Theme/ EngineTwigTest.php - Tests the automatic/magic calling of toString() on objects, if exists.
File
-
core/
core.services.yml
View source
- class: Drupal\Core\File\FileUrlGenerator
- arguments:
- - '@stream_wrapper_manager'
- - '@request_stack'
- - '@module_handler'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.