function AdvisoriesConfigSubscriber::__construct
Same name in other branches
- 10 core/modules/system/src/EventSubscriber/AdvisoriesConfigSubscriber.php \Drupal\system\EventSubscriber\AdvisoriesConfigSubscriber::__construct()
- 11.x core/modules/system/src/EventSubscriber/AdvisoriesConfigSubscriber.php \Drupal\system\EventSubscriber\AdvisoriesConfigSubscriber::__construct()
Constructs a new ConfigSubscriber object.
Parameters
\Drupal\system\SecurityAdvisories\SecurityAdvisoriesFetcher $security_advisories_fetcher: The security advisory fetcher service.
File
-
core/
modules/ system/ src/ EventSubscriber/ AdvisoriesConfigSubscriber.php, line 28
Class
- AdvisoriesConfigSubscriber
- Defines a config subscriber for changes to 'system.advisories'.
Namespace
Drupal\system\EventSubscriberCode
public function __construct(SecurityAdvisoriesFetcher $security_advisories_fetcher) {
$this->securityAdvisoriesFetcher = $security_advisories_fetcher;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.