public LinkGenerator::generate($text, Url $url)
The url generator. Type:
public LinkGenerator::generateFromLink(Link $link)
The renderer service. Type:
Provides a class which generates a link with route names and parameters. Hierarchy class
The module handler firing the route_link alter hook. Type:
public LinkGenerator::__construct(UrlGeneratorInterface $url_generator