-
Notifications
You must be signed in to change notification settings - Fork 14
/
cloudflare.services.yml
28 lines (28 loc) · 1.04 KB
/
cloudflare.services.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 }