You are here

public function PdfEngineBase::setConfiguration in Entity Print 8

Sets the configuration for this plugin instance.

Parameters

array $configuration: An associative array containing the plugin's configuration.

Overrides ConfigurablePluginInterface::setConfiguration

1 call to PdfEngineBase::setConfiguration()
PdfEngineBase::__construct in src/Plugin/PdfEngineBase.php
Constructs a \Drupal\Component\Plugin\PluginBase object.

File

src/Plugin/PdfEngineBase.php, line 69

Class

PdfEngineBase
The PdfEngineBase class.

Namespace

Drupal\entity_print\Plugin

Code

public function setConfiguration(array $configuration) {
  $this->configuration = $configuration + $this
    ->defaultConfiguration();
}