LinkGenerator::$urlGenerator
Same name in other branches
- 9 core/lib/Drupal/Core/Utility/LinkGenerator.php \Drupal\Core\Utility\LinkGenerator::urlGenerator
- 10 core/lib/Drupal/Core/Utility/LinkGenerator.php \Drupal\Core\Utility\LinkGenerator::urlGenerator
- 11.x core/lib/Drupal/Core/Utility/LinkGenerator.php \Drupal\Core\Utility\LinkGenerator::urlGenerator
The url generator.
Type: \Drupal\Core\Routing\UrlGeneratorInterface
File
-
core/
lib/ Drupal/ Core/ Utility/ LinkGenerator.php, line 28
Class
- LinkGenerator
- Provides a class which generates a link with route names and parameters.
Namespace
Drupal\Core\UtilityCode
protected $urlGenerator;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.