You are here

public function EntityPrintViewsLink::__construct in Entity Print 8.2

Constructs a new Entity instance.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

\Drupal\entity_print\Plugin\ExportTypeManagerInterface $export_type_manager: The export type manager.

Overrides HandlerBase::__construct

File

modules/entity_print_views/src/Plugin/views/area/EntityPrintViewsLink.php, line 39

Class

EntityPrintViewsLink
Views area handler for a Print button.

Namespace

Drupal\entity_print_views\Plugin\views\area

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, ExportTypeManagerInterface $export_type_manager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->exportTypeManager = $export_type_manager;
}