url_generator
Same name and namespace in other branches
- 9 core/core.services.yml \url_generator
- 8.9.x core/core.services.yml \url_generator
- 11.x core/core.services.yml \url_generator
Class
Drupal\Core\Render\MetadataBubblingUrlGenerator13 string references to url_generator
- 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.
- EntityController::create in core/
lib/ Drupal/ Core/ Entity/ Controller/ EntityController.php - Instantiates a new instance of this class.
- EntityUrlTest::testUriRelationships in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityUrlTest.php - Tests the uriRelationships() method.
- FormSubmitterTest::testRedirectWithoutResult in core/
tests/ Drupal/ Tests/ Core/ Form/ FormSubmitterTest.php - Tests the redirectForm() method when no redirect is expected.
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.