You are here

service link_generator in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/core.services.yml \link_generator

Class

Drupal\Core\Utility\LinkGenerator
10 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/src/Tests/Theme/EngineTwigTest.php
Tests the link_generator Twig functions.
EntityLinkTest::setUp in core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php

... See full list

File

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

View source
  1. class: Drupal\Core\Utility\LinkGenerator
  2. arguments:
  3. - '@url_generator'
  4. - '@module_handler'
  5. - '@renderer'