You are here

public function EntityPrintController::__construct in Entity Print 8.2

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

File

src/Controller/EntityPrintController.php, line 51

Class

EntityPrintController
Print controller.

Namespace

Drupal\entity_print\Controller

Code

public function __construct(EntityPrintPluginManagerInterface $plugin_manager, ExportTypeManagerInterface $export_type_manager, PrintBuilderInterface $print_builder, EntityTypeManagerInterface $entity_type_manager) {
  $this->pluginManager = $plugin_manager;
  $this->exportTypeManager = $export_type_manager;
  $this->printBuilder = $print_builder;
  $this->entityTypeManager = $entity_type_manager;
}