url_generator
Same name in other branches
- 9 core/core.services.yml \url_generator
- 8.9.x core/core.services.yml \url_generator
Class
Drupal\Core\Render\MetadataBubblingUrlGenerator23 string references to url_generator
- BlockContentBlock::create in core/
modules/ block_content/ src/ Plugin/ Block/ BlockContentBlock.php - 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.
File
-
core/
core.services.yml
View source
- class: Drupal\Core\Render\MetadataBubblingUrlGenerator
- arguments:
- - '@url_generator.non_bubbling'
- - '@renderer'
- calls:
- - [setContext, ['@?router.request_context']]
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.