cloudflare.services.yml in CloudFlare 8
File
cloudflare.services.ymlView source
- services:
- cloudflare.composer_dependency_check:
- class: Drupal\cloudflare\ComposerDependenciesCheck
- factory: Drupal\cloudflare\ComposerDependenciesCheck::create
- arguments: ['@logger.channel.cloudflare']
- tags:
- - { name: cloudflare}
- cloudflare.timestamp:
- class: Drupal\cloudflare\Timestamp
- cloudflare.state:
- class: Drupal\cloudflare\State
- arguments: ['@state', '@cloudflare.timestamp']
- tags:
- - { name: cloudflare}
- cloudflare.zone:
- class: Drupal\cloudflare\Zone
- factory: Drupal\cloudflare\Zone::create
- arguments: ['@config.factory', '@logger.channel.cloudflare', '@cache.data', '@cloudflare.state', '@cloudflare.composer_dependency_check']
- tags:
- - { name: cloudflare}
- logger.channel.cloudflare:
- parent: logger.channel_base
- arguments: ['cloudflare']
- cloudflare.clientiprestore:
- class: Drupal\cloudflare\EventSubscriber\ClientIpRestore
- arguments: ['@config.factory', '@cache.data', '@http_client', '@logger.channel.cloudflare']
- tags:
- - { name: event_subscriber }