You are here

cloudflare.services.yml in CloudFlare 8

File

cloudflare.services.yml
View source
  1. services:
  2. cloudflare.composer_dependency_check:
  3. class: Drupal\cloudflare\ComposerDependenciesCheck
  4. factory: Drupal\cloudflare\ComposerDependenciesCheck::create
  5. arguments: ['@logger.channel.cloudflare']
  6. tags:
  7. - { name: cloudflare}
  8. cloudflare.timestamp:
  9. class: Drupal\cloudflare\Timestamp
  10. cloudflare.state:
  11. class: Drupal\cloudflare\State
  12. arguments: ['@state', '@cloudflare.timestamp']
  13. tags:
  14. - { name: cloudflare}
  15. cloudflare.zone:
  16. class: Drupal\cloudflare\Zone
  17. factory: Drupal\cloudflare\Zone::create
  18. arguments: ['@config.factory', '@logger.channel.cloudflare', '@cache.data', '@cloudflare.state', '@cloudflare.composer_dependency_check']
  19. tags:
  20. - { name: cloudflare}
  21. logger.channel.cloudflare:
  22. parent: logger.channel_base
  23. arguments: ['cloudflare']
  24. cloudflare.clientiprestore:
  25. class: Drupal\cloudflare\EventSubscriber\ClientIpRestore
  26. arguments: ['@config.factory', '@cache.data', '@http_client', '@logger.channel.cloudflare']
  27. tags:
  28. - { name: event_subscriber }