View source
- services:
- bynder_api:
- class: Drupal\bynder\BynderApi
- arguments: ['@config.factory', '@logger.factory', '@session', '@state', '@cache.default', '@datetime.time']
- bynder.config_hash_generator:
- class: Drupal\bynder\EventSubscriber\BynderConfigHashGenerator
- arguments: ['@state']
- tags:
- - { name: event_subscriber }
- bynder_usage_subscriber:
- class: Drupal\bynder\EventSubscriber\UsageEventSubscriber
- arguments: ['@bynder_api', '@entity_type.manager', '@request_stack']
- tags:
- - { name: 'event_subscriber' }