protected function PluginBase::linkGenerator in Feeds 8.3
Returns the link generator service.
Return value
\Drupal\Core\Utility\LinkGeneratorInterface The link generator service.
File
- src/
Plugin/ Type/ PluginBase.php, line 167
Class
- PluginBase
- The base class for the fetcher, parser, and processor plugins.
Namespace
Drupal\feeds\Plugin\TypeCode
protected function linkGenerator() {
if (!$this->linkGenerator) {
$this->linkGenerator = $this
->container()
->get('link_generator');
}
return $this->linkGenerator;
}