LinkGenerator::$renderer

Same name in other branches
  1. 9 core/lib/Drupal/Core/Utility/LinkGenerator.php \Drupal\Core\Utility\LinkGenerator::renderer
  2. 8.9.x core/lib/Drupal/Core/Utility/LinkGenerator.php \Drupal\Core\Utility\LinkGenerator::renderer
  3. 10 core/lib/Drupal/Core/Utility/LinkGenerator.php \Drupal\Core\Utility\LinkGenerator::renderer

The renderer service.

Type: \Drupal\Core\Render\RendererInterface

File

core/lib/Drupal/Core/Utility/LinkGenerator.php, line 41

Class

LinkGenerator
Provides a class which generates a link with route names and parameters.

Namespace

Drupal\Core\Utility

Code

protected $renderer;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.