You are here

public function ReportingHandlerBase::__construct in Content-Security-Policy 8

Reporting Handler plugin constructor.

Parameters

array $configuration: The Plugin configuration.

string $plugin_id: The Plugin ID.

mixed $plugin_definition: The Plugin Definition.

File

src/Plugin/ReportingHandlerBase.php, line 44

Class

ReportingHandlerBase
Base Reporting Handler implementation.

Namespace

Drupal\csp\Plugin

Code

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