link_generator
Same name in other branches
- 9 core/core.services.yml \link_generator
- 10 core/core.services.yml \link_generator
Class
Drupal\Core\Utility\LinkGenerator10 string references to link_generator
- Drupal::linkGenerator in core/
lib/ Drupal.php - Returns the link generator service.
- DrupalTest::testL in core/
tests/ Drupal/ Tests/ Core/ DrupalTest.php - Tests the l() method.
- DrupalTest::testLinkGenerator in core/
tests/ Drupal/ Tests/ Core/ DrupalTest.php - Tests the linkGenerator() method.
- EngineTwigTest::testTwigLinkGenerator in core/
modules/ system/ tests/ src/ Functional/ Theme/ EngineTwigTest.php - Tests the link_generator Twig functions.
- EntityLinkTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityLinkTest.php
File
-
core/
core.services.yml
View source
- class: Drupal\Core\Utility\LinkGenerator
- arguments:
- - '@url_generator'
- - '@module_handler'
- - '@renderer'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.