file_url_generator

Same name and namespace in other branches
  1. 9 core/core.services.yml \file_url_generator
  2. 11.x core/core.services.yml \file_url_generator

Class

Drupal\Core\File\FileUrlGenerator
23 string references to file_url_generator
AttachedAssetsTest::setUp in core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php
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.
FileUrlGeneratorTest::setUp in core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php
ImageAdminStylesTest::testPreviewImageShowInPrivateScheme in core/modules/image/tests/src/Functional/ImageAdminStylesTest.php
Tests the display of preview images using a private scheme.

... 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.