You are here

public function FeedViewBuilder::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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\EntityManagerInterface $entity_manager: The entity manager service.

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.

\Drupal\Core\Config\Config $config: The 'aggregator.settings' config.

Overrides EntityViewBuilder::__construct

File

core/modules/aggregator/src/FeedViewBuilder.php, line 35
Contains \Drupal\aggregator\FeedViewBuilder.

Class

FeedViewBuilder
Render controller for aggregator feed items.

Namespace

Drupal\aggregator

Code

public function __construct(EntityTypeInterface $entity_type, EntityManagerInterface $entity_manager, LanguageManagerInterface $language_manager, Config $config) {
  parent::__construct($entity_type, $entity_manager, $language_manager);
  $this->config = $config;
}