heartbeat.services.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  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', '@config.factory', '@database']
  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 }
  19. heartbeat.route_subscriber:
  20. class: Drupal\heartbeat\Routing\HeartbeatRouteSubscriber
  21. tags:
  22. - { name: event_subscriber }
  23. heartbeat_autocomplete.route_subscriber:
  24. class: Drupal\heartbeat\Routing\HeartbeatAutocompleteSubscriber
  25. tags:
  26. - { name: event_subscriber }
  27. heartbeat_autocomplete.autocomplete_matcher:
  28. class: Drupal\heartbeat\HeartbeatAutocompleteMatcher
  29. arguments: ['@plugin.manager.entity_reference_selection']