You are here

public function TestFillPdfBackend::__construct in FillPDF 8.4

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.

File

tests/modules/fillpdf_test/src/Plugin/FillPdfBackend/TestFillPdfBackend.php, line 47

Class

TestFillPdfBackend
Backend used in tests.

Namespace

Drupal\fillpdf_test\Plugin\FillPdfBackend

Code

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