file_url_generator

Same name in other branches
  1. 9 core/core.services.yml \file_url_generator

Class

Drupal\Core\File\FileUrlGenerator
35 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.

... See full list

File

core/core.services.yml

View source
  1. class: Drupal\Core\File\FileUrlGenerator
  2. arguments:
  3. - '@stream_wrapper_manager'
  4. - '@request_stack'
  5. - '@module_handler'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.