file_url_generator
Same name and namespace in other branches
- 11.x core/core.services.yml \file_url_generator
- 10 core/core.services.yml \file_url_generator
- 9 core/core.services.yml \file_url_generator
Class
Drupal\Core\File\FileUrlGenerator27 string references to file_url_generator
- AttachedAssetsTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AttachedAssetsTest.php - 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::createFileUrl in core/
modules/ file/ src/ Entity/ File.php - Creates a file URL for the URI of this file.
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.