public function CspSubscriber::__construct in Raven: Sentry Integration 8.2
Same name and namespace in other branches
- 3.x src/EventSubscriber/CspSubscriber.php \Drupal\raven\EventSubscriber\CspSubscriber::__construct()
CspSubscriber constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The config factory service.
File
- src/
EventSubscriber/ CspSubscriber.php, line 41
Class
- CspSubscriber
- Subscriber for CSP events.
Namespace
Drupal\raven\EventSubscriberCode
public function __construct(ConfigFactoryInterface $configFactory) {
$this->configFactory = $configFactory;
}