protected function PluginBase::l in Feeds 8.3
Renders a link to a route given a route name and its parameters.
See \Drupal\Core\Utility\LinkGeneratorInterface::generate() for details on the arguments, usage, and possible exceptions.
Return value
string An HTML string containing a link to the given route and parameters.
See also
\Drupal\Core\Utility\LinkGeneratorInterface::generate()
File
- src/
Plugin/ Type/ PluginBase.php, line 142
Class
- PluginBase
- The base class for the fetcher, parser, and processor plugins.
Namespace
Drupal\feeds\Plugin\TypeCode
protected function l($text, $route_name, array $parameters = [], array $options = []) {
return $this
->linkGenerator()
->generate($text, $route_name, $parameters, $options);
}