You are here

public function PrintLinks::__construct in Entity Print 8.2

PrintBlock constructor.

Parameters

array $configuration: Plugin configuration.

string $plugin_id: Plugin ID.

array $plugin_definition: Plugin definition.

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

Overrides BlockPluginTrait::__construct

File

src/Plugin/Block/PrintLinks.php, line 45

Class

PrintLinks
Provides a block with a link to print entities.

Namespace

Drupal\entity_print\Plugin\Block

Code

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