You are here

site_alert.services.yml in Site Alert 8

File

site_alert.services.yml
View source
  1. services:
  2. site_alert.cli_commands:
  3. class: Drupal\site_alert\CliCommands
  4. arguments: ['@entity_type.manager']
  5. site_alert.get_alerts:
  6. class: Drupal\site_alert\GetAlerts
  7. arguments: ['@entity_type.manager']
  8. cache_context.active_site_alerts:
  9. class: Drupal\site_alert\Cache\Context\ActiveSiteAlertsCacheContext
  10. arguments: ['@entity_type.manager', '@site_alert.get_alerts', '@private_key']
  11. tags:
  12. - { name: cache.context}