public function Raven::__construct in Raven: Sentry Integration 8.2
Same name in this branch
- 8.2 src/Logger/Raven.php \Drupal\raven\Logger\Raven::__construct()
- 8.2 src/Plugin/CspReportingHandler/Raven.php \Drupal\raven\Plugin\CspReportingHandler\Raven::__construct()
Same name and namespace in other branches
- 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\CspReportingHandlerCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, $configFactory) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->configFactory = $configFactory;
}