You are here

bynder.services.yml in Bynder 8

File

bynder.services.yml
View source
  1. services:
  2. bynder_api:
  3. class: Drupal\bynder\BynderApi
  4. arguments: ['@config.factory', '@logger.factory', '@session', '@state', '@cache.default', '@datetime.time']
  5. bynder.config_hash_generator:
  6. class: Drupal\bynder\EventSubscriber\BynderConfigHashGenerator
  7. arguments: ['@state']
  8. tags:
  9. - { name: event_subscriber }
  10. bynder_usage_subscriber:
  11. class: Drupal\bynder\EventSubscriber\UsageEventSubscriber
  12. arguments: ['@bynder_api', '@entity_type.manager', '@request_stack']
  13. tags:
  14. - { name: 'event_subscriber' }