services: Drupal\Core\Cache\CacheBackendInterface: alias: cache.default private: true Drupal\opdavies_talks\Repository\TalkRepository: autowire: true Drupal\opdavies_talks\Service\CachedTalkCounter: autowire: true Drupal\opdavies_talks\Service\TalkCounter: autowire: true Drupal\opdavies_talks\Service\TalkCounterInterface: autowire: true class: Drupal\opdavies_talks\Service\CachedTalkCounter Drupal\opdavies_talks\Service\TalkDateUpdater: autowire: true Drupal\opdavies_talks\EventSubscriber\UpdateTalkNodeBeforeSave: tags: - { name: event_subscriber }