You are here

public function ResponseSubscriber::__construct in Advanced CSS/JS Aggregation 8.3

Same name and namespace in other branches
  1. 8.4 src/EventSubscriber/ResponseSubscriber.php \Drupal\advagg\EventSubscriber\ResponseSubscriber::__construct()

Constructs the Subscriber object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: A config factory for retrieving required config objects.

File

src/EventSubscriber/ResponseSubscriber.php, line 29

Class

ResponseSubscriber
Respond to event processes.

Namespace

Drupal\advagg\EventSubscriber

Code

public function __construct(ConfigFactoryInterface $config_factory) {
  $this->config = $config_factory
    ->get('advagg.settings');
}