You are here

public function CspSubscriber::__construct in Raven: Sentry Integration 3.x

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

Code

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