You are here

public function EntityPrintController::__construct in Entity Print 8

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

File

src/Controller/EntityPrintController.php, line 45

Class

EntityPrintController

Namespace

Drupal\entity_print\Controller

Code

public function __construct(EntityPrintPluginManager $plugin_manager, PdfBuilderInterface $pdf_builder, EntityTypeManagerInterface $entity_type_manager) {
  $this->pluginManager = $plugin_manager;
  $this->pdfBuilder = $pdf_builder;
  $this->entityTypeManager = $entity_type_manager;
}