You are here

public function EntityPrintController::__construct in Opigno certificate 3.x

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

File

src/Controller/EntityPrintController.php, line 50

Class

EntityPrintController
Print controller.

Namespace

Drupal\opigno_certificate\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;
}