forked from relaxedws/drupal-relaxed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
relaxed.services.yml
43 lines (43 loc) · 1.64 KB
/
relaxed.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
services:
paramconverter.docid:
class: Drupal\relaxed\ParamConverter\DocIdConverter
arguments: ['@entity.manager', '@multiversion.entity_index.uuid', '@multiversion.entity_index.rev', '@multiversion.entity_index.rev.tree']
tags:
- { name: paramconverter, priority: 30 }
paramconverter.db:
class: Drupal\relaxed\ParamConverter\DbConverter
arguments: ['@workspace.manager']
tags:
- { name: paramconverter, priority: 20 }
paramconverter.entity_uuid:
class: Drupal\relaxed\ParamConverter\EntityUuidConverter
arguments: ['@entity.manager', '@multiversion.entity_index.uuid']
tags:
- { name: paramconverter, priority: 20 }
workspace.negotiator.relaxed:
class: Drupal\relaxed\Workspace\RelaxedWorkspaceNegotiator
arguments: ['@config.factory']
calls:
- [setContainer, ['@service_container']]
- [setCurrentUser, ['@current_user']]
- [setWorkspaceManager, ['@workspace.manager']]
tags:
- { name: workspace_negotiator, priority: 200 }
plugin.manager.remote_check:
class: Drupal\relaxed\Plugin\RemoteCheckManager
parent: default_plugin_manager
relaxed.remote_pointer:
class: Drupal\relaxed\RemotePointer
arguments: ['@entity_type.manager', '@http_client']
relaxed.couchdb_replicator:
class: Drupal\relaxed\CouchdbReplicator
arguments: ['@config.factory']
tags:
- {name: workspace_replicator, priority: 20}
relaxed.replicate:
class: Drupal\relaxed\Replicate\Replicate
relaxed.normalizer.replicate:
class: Drupal\relaxed\Normalizer\ReplicateNormalizer
tags:
- { name: normalizer, priority: 10 }
arguments: ['@relaxed.replicate']