protected property ActiveSiteAlertsCacheContext::$getAlerts in Site Alert 8
The service that handles retrieval of site alerts.
Type: \Drupal\site_alert\GetAlertsInterface
File
- src/
Cache/ Context/ ActiveSiteAlertsCacheContext.php, line 36
Class
- ActiveSiteAlertsCacheContext
- A cache context that varies by the currently active site alerts.
Namespace
Drupal\site_alert\Cache\ContextCode
protected $getAlerts;