You are here

public function TestPdfBackend::__construct in FillPDF 5.0.x

Constructs a LocalFillPdfBackend plugin object.

Parameters

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

string $plugin_id: The plugin_id for the plugin instance.

array $plugin_definition: The plugin implementation definition.

\Drupal\Core\State\StateInterface $state: The state.

Overrides PluginBase::__construct

File

tests/modules/fillpdf_test/src/Plugin/PdfBackend/TestPdfBackend.php, line 47

Class

TestPdfBackend
Backend used in tests.

Namespace

Drupal\fillpdf_test\Plugin\PdfBackend

Code

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