-
Notifications
You must be signed in to change notification settings - Fork 0
/
bc_api_base.services.yml
44 lines (35 loc) · 1.32 KB
/
bc_api_base.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
services:
cache.bc_api_base:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin }
factory: cache_factory:get
arguments: [bc_api_base]
bc_api_base.subscriber:
class: Drupal\bc_api_base\EventSubscriber\ApiSubscriber
arguments: ['@url_generator', '@state', '@logger.factory']
tags:
- { name: 'event_subscriber' }
plugin.manager.platform:
class: Drupal\bc_api_base\Plugin\PlatformManager
parent: default_plugin_manager
bc_api_base.asset:
class: Drupal\bc_api_base\AssetApiService
arguments: ['@bc_api_base.file', '@bc_api_base.image', '@bc_api_base.audio', '@bc_api_base.video']
bc_api_base.file:
class: Drupal\bc_api_base\FileApiService
arguments: ['@file_url_generator']
bc_api_base.image:
class: Drupal\bc_api_base\ImageApiService
arguments: ['@file_url_generator', '@image.factory', '@config.factory']
bc_api_base.audio:
class: Drupal\bc_api_base\AudioApiService
arguments: ['@file_url_generator']
bc_api_base.video:
class: Drupal\bc_api_base\VideoApiService
arguments: ['@file_url_generator']
bc_api_base.valueTransformer:
class: Drupal\bc_api_base\ValueTransformationService
arguments: ['@plugin.manager.platform']
bc_api_base.param_validation:
class: Drupal\bc_api_base\ApiParameterValidation