You are here

public function RendererBase::__construct in Entity Print 8

Same name and namespace in other branches
  1. 8.2 src/Renderer/RendererBase.php \Drupal\entity_print\Renderer\RendererBase::__construct()
1 call to RendererBase::__construct()
ContentEntityRenderer::__construct in src/Renderer/ContentEntityRenderer.php
1 method overrides RendererBase::__construct()
ContentEntityRenderer::__construct in src/Renderer/ContentEntityRenderer.php

File

src/Renderer/RendererBase.php, line 60

Class

RendererBase
The RendererBase class.

Namespace

Drupal\entity_print\Renderer

Code

public function __construct(ThemeHandlerInterface $theme_handler, InfoParserInterface $info_parser, AssetResolverInterface $asset_resolver, AssetCollectionRendererInterface $css_renderer, CoreRendererInterface $renderer, EventDispatcherInterface $event_dispatcher) {
  $this->themeHandler = $theme_handler;
  $this->infoParser = $info_parser;
  $this->assetResolver = $asset_resolver;
  $this->cssRenderer = $css_renderer;
  $this->renderer = $renderer;
  $this->dispatcher = $event_dispatcher;
}