private function PluginBase::container in Feeds 8.3
Returns the service container.
Return value
\Symfony\Component\DependencyInjection\ContainerInterface The service container.
File
- src/
Plugin/ Type/ PluginBase.php, line 193
Class
- PluginBase
- The base class for the fetcher, parser, and processor plugins.
Namespace
Drupal\feeds\Plugin\TypeCode
private function container() {
return \Drupal::getContainer();
}