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.