public LinkGenerator::__construct(UrlGeneratorInterface $url_generator, ModuleHandlerInterface $module_handler, RendererInterface $renderer)
Constructs a LinkGenerator instance.
\Drupal\Core\Routing\UrlGeneratorInterface $url_generator: The url generator.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
\Drupal\Core\Render\RendererInterface $renderer: The renderer service.
public function __construct(UrlGeneratorInterface $url_generator, ModuleHandlerInterface $module_handler, RendererInterface $renderer) { $this->urlGenerator = $url_generator; $this->moduleHandler = $module_handler; $this->renderer = $renderer; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Utility!LinkGenerator.php/function/LinkGenerator::__construct/8.1.x