You are here

public function Test::__construct in FillPDF 8.4

Constructs a \Drupal\Component\Plugin\PluginBase object.

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\Core\State\StateInterface $state: The state.

Overrides PluginBase::__construct

File

tests/modules/fillpdf_test/src/Plugin/BackendService/Test.php, line 39

Class

Test
Backend used in tests.

Namespace

Drupal\fillpdf_test\Plugin\BackendService

Code

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