function FeedViewBuilder::createInstance
Same name in other branches
- 8.9.x core/modules/aggregator/src/FeedViewBuilder.php \Drupal\aggregator\FeedViewBuilder::createInstance()
Overrides EntityViewBuilder::createInstance
File
-
core/
modules/ aggregator/ src/ FeedViewBuilder.php, line 62
Class
- FeedViewBuilder
- View builder handler for aggregator feeds.
Namespace
Drupal\aggregatorCode
public static function createInstance(ContainerInterface $container, EntityTypeInterface $entity_type) {
return new static($entity_type, $container->get('entity.repository'), $container->get('language_manager'), $container->get('config.factory')
->get('aggregator.settings'), $container->get('theme.registry'), $container->get('entity_display.repository'), $container->get('entity_type.manager'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.