You are here

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

Same name and namespace in other branches
  1. 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\EventSubscriber

Code

public function __construct(ConfigFactoryInterface $configFactory) {
  $this->configFactory = $configFactory;
}