You are here

public function Raven::__construct in Raven: Sentry Integration 8.2

Same name in this branch
  1. 8.2 src/Logger/Raven.php \Drupal\raven\Logger\Raven::__construct()
  2. 8.2 src/Plugin/CspReportingHandler/Raven.php \Drupal\raven\Plugin\CspReportingHandler\Raven::__construct()
Same name and namespace in other branches
  1. 3.x src/Plugin/CspReportingHandler/Raven.php \Drupal\raven\Plugin\CspReportingHandler\Raven::__construct()

Reporting Handler plugin constructor.

Parameters

array $configuration: The Plugin configuration.

string $plugin_id: The Plugin ID.

mixed $plugin_definition: The Plugin Definition.

Overrides ReportingHandlerBase::__construct

File

src/Plugin/CspReportingHandler/Raven.php, line 32

Class

Raven
CSP Reporting Plugin for a Sentry endpoint.

Namespace

Drupal\raven\Plugin\CspReportingHandler

Code

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