You are here

public function TagViewBuilder::__construct in Doubleclick for Publishers (DFP) 8

Constructs a new BlockViewBuilder.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entityType: The entity type definition.

EntityRepositoryInterface $entityRepository: The entity manager service.

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

\Drupal\Core\Theme\Registry $registry: The theme registry service.

\Drupal\Core\Entity\EntityDisplayRepositoryInterface $entityDisplayRepository: The entity display repository service.

\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: The module handler.

\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The config factory.

\Drupal\dfp\TokenInterface $token: DFP token service.

Overrides EntityViewBuilder::__construct

File

src/View/TagViewBuilder.php, line 70
Contains \Drupal\dfp\View\TagViewBuilder.

Class

TagViewBuilder
Provides a DFP Tag view builder.

Namespace

Drupal\dfp\View

Code

public function __construct(EntityTypeInterface $entityType, EntityRepositoryInterface $entityRepository, LanguageManagerInterface $languageManager, Registry $registry, EntityDisplayRepositoryInterface $entityDisplayRepository, ModuleHandlerInterface $moduleHandler, ConfigFactoryInterface $configFactory, TokenInterface $token) {
  parent::__construct($entityType, $entityRepository, $languageManager, $registry, $entityDisplayRepository);
  $this->moduleHandler = $moduleHandler;
  $this->configFactory = $configFactory;
  $this->token = $token;
}