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