public function CspSubscriber::__construct in Raven: Sentry Integration 3.x
Same name and namespace in other branches
- 8.2 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 42
Class
- CspSubscriber
- Subscriber for CSP events.
Namespace
Drupal\raven\EventSubscriberCode
public function __construct(ConfigFactoryInterface $configFactory) {
$this->configFactory = $configFactory;
}