Same name in other branches
- 5.0.x advagg_mod/src/EventSubscriber/InitSubscriber.php \Drupal\advagg_mod\EventSubscriber\InitSubscriber::__construct()
- 6.0.x advagg_mod/src/EventSubscriber/InitSubscriber.php \Drupal\advagg_mod\EventSubscriber\InitSubscriber::__construct()
- 8.x-3.x advagg_mod/src/EventSubscriber/InitSubscriber.php \Drupal\advagg_mod\EventSubscriber\InitSubscriber::__construct()
- 8.x-4.x advagg_mod/src/EventSubscriber/InitSubscriber.php \Drupal\advagg_mod\EventSubscriber\InitSubscriber::__construct()
Constructs the Subscriber object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: A config factory for retrieving required config objects.
File
-
advagg_mod/
src/ EventSubscriber/ InitSubscriber.php, line 34
Class
- InitSubscriber
- Perform initialization tasks for advagg_mod.
Namespace
Drupal\advagg_mod\EventSubscriberCode
public function __construct(ConfigFactoryInterface $config_factory) {
$this->config = $config_factory->get('advagg.settings');
$this->advaggConfig = $config_factory->getEditable('advagg.settings');
}