public function AdvisoriesConfigSubscriber::__construct in Drupal 9
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;
}