function FeedViewBuilder::__construct
Same name in other branches
- 8.9.x core/modules/aggregator/src/FeedViewBuilder.php \Drupal\aggregator\FeedViewBuilder::__construct()
Constructs a new FeedViewBuilder.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Entity\EntityRepositoryInterface $entity_repository: The entity repository service.
\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.
\Drupal\Core\Config\Config $config: The 'aggregator.settings' config.
\Drupal\Core\Theme\Registry $theme_registry: The theme registry.
\Drupal\Core\Entity\EntityDisplayRepositoryInterface $entity_display_repository: The entity display repository.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
Overrides EntityViewBuilder::__construct
File
-
core/
modules/ aggregator/ src/ FeedViewBuilder.php, line 53
Class
- FeedViewBuilder
- View builder handler for aggregator feeds.
Namespace
Drupal\aggregatorCode
public function __construct(EntityTypeInterface $entity_type, EntityRepositoryInterface $entity_repository, LanguageManagerInterface $language_manager, Config $config, Registry $theme_registry, EntityDisplayRepositoryInterface $entity_display_repository, EntityTypeManagerInterface $entity_type_manager) {
parent::__construct($entity_type, $entity_repository, $language_manager, $theme_registry, $entity_display_repository);
$this->config = $config;
$this->entityTypeManager = $entity_type_manager;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.