FeedViewBuilder::__construct

public FeedViewBuilder::__construct(EntityTypeInterface $entity_type, EntityManagerInterface $entity_manager, LanguageManagerInterface $language_manager, Config $config)

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 30

Class

FeedViewBuilder
View builder handler for aggregator feeds.

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;
}
doc_Drupal
2016-10-29 09:10:24
Comments
Leave a Comment

Please login to continue.