heartbeat.services.yml 889 B

1234567891011121314151617181920212223
  1. services:
  2. heartbeat.heartbeattype:
  3. class: Drupal\heartbeat\HeartbeatTypeServices
  4. arguments: ['@entity_type.manager', '@entity_type.bundle.info', '@entity.query']
  5. heartbeatstream:
  6. class: Drupal\heartbeat\HeartbeatStreamServices
  7. arguments: ["@entity_type.manager", "@entity_type.repository", '@entity.query']
  8. heartbeatstreamalt:
  9. class: Drupal\heartbeat\HeartbeatAltServices
  10. arguments: ['@entity.query', '@entity.manager', '@entity_type.manager', '@entity_type.repository', '@heartbeat.heartbeattype']
  11. heartbeat:
  12. class: Drupal\heartbeat\HeartbeatService
  13. arguments: ['@entity_type.manager', '@entity.query', '@heartbeatstream']
  14. heartbeat.event:
  15. class: Drupal\heartbeat\EventSubscriber\HeartbeatEventSubscriber
  16. arguments: ['@flag', '@heartbeat.heartbeattype', '@heartbeatstream', '@heartbeat']
  17. tags:
  18. - { name: event_subscriber }