You are here

public function BrightcoveProxyInitSubscriber::__construct in Brightcove Video Connect 8

Same name and namespace in other branches
  1. 8.2 modules/brightcove_proxy/src/EventSubscriber/BrightcoveProxyInitSubscriber.php \Drupal\brightcove_proxy\EventSubscriber\BrightcoveProxyInitSubscriber::__construct()
  2. 3.x modules/brightcove_proxy/src/EventSubscriber/BrightcoveProxyInitSubscriber.php \Drupal\brightcove_proxy\EventSubscriber\BrightcoveProxyInitSubscriber::__construct()

BrightcoveProxyInitSubscriber constructor.

Parameters

\Drupal\Core\Config\ConfigFactory $config: Configuration object factory.

File

modules/brightcove_proxy/src/EventSubscriber/BrightcoveProxyInitSubscriber.php, line 29

Class

BrightcoveProxyInitSubscriber
Subscribes to Drupal initialization event.

Namespace

Drupal\brightcove_proxy\EventSubscriber

Code

public function __construct(ConfigFactory $config) {
  $this->config = $config
    ->get('brightcove_proxy.config');
}