You are here

public function ContentEntityRenderer::__construct in Entity Print 8

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

Overrides RendererBase::__construct

File

src/Renderer/ContentEntityRenderer.php, line 27

Class

ContentEntityRenderer

Namespace

Drupal\entity_print\Renderer

Code

public function __construct(ThemeHandlerInterface $theme_handler, InfoParserInterface $info_parser, AssetResolverInterface $asset_resolver, AssetCollectionRendererInterface $css_renderer, RendererInterface $renderer, EventDispatcherInterface $event_dispatcher, EntityTypeManagerInterface $entity_type_manager) {
  parent::__construct($theme_handler, $info_parser, $asset_resolver, $css_renderer, $renderer, $event_dispatcher);
  $this->entityTypeManager = $entity_type_manager;
}