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

Class

Drupal\Core\Render\MetadataBubblingUrlGenerator
19 string references to url_generator
ConfigNamesMapperTest::setUp in core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php
Drupal::urlGenerator in core/lib/Drupal.php
Returns the URL generator service.
DrupalTest::testUrlGenerator in core/tests/Drupal/Tests/Core/DrupalTest.php
Tests the urlGenerator() method.
EngineTwigTest::testTwigUrlGenerator in core/modules/system/tests/src/Functional/Theme/EngineTwigTest.php
Tests the url and url_generate Twig functions.
FieldPluginBaseTest::setUp in core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php

... See full list

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\Render\MetadataBubblingUrlGenerator
  2. arguments:
  3. - '@url_generator.non_bubbling'
  4. - '@renderer'
  5. calls:
  6. - [setContext, ['@?router.request_context']]