AdvisoriesConfigSubscriber
class AdvisoriesConfigSubscriber implements EventSubscriberInterface (View source)
Defines a config subscriber for changes to 'system.advisories'.
Properties
| protected SecurityAdvisoriesFetcher | $securityAdvisoriesFetcher | The security advisory fetcher service. |
Methods
__construct(SecurityAdvisoriesFetcher $security_advisories_fetcher)
Constructs a new ConfigSubscriber object.
void
onConfigSave(ConfigCrudEvent $event)
Deletes the stored response from the security advisories feed, if needed.
static array
getSubscribedEvents()
{@inheritdoc}
Details
__construct(SecurityAdvisoriesFetcher $security_advisories_fetcher)
Constructs a new ConfigSubscriber object.
void
onConfigSave(ConfigCrudEvent $event)
Deletes the stored response from the security advisories feed, if needed.
The stored response will only be deleted if the 'interval_hours' config setting is reduced from the previous value.
static array
getSubscribedEvents()
{@inheritdoc}