forked from discoverygarden/islandora_citations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
islandora_citations.services.yml
54 lines (54 loc) · 2.28 KB
/
islandora_citations.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
45
46
47
48
49
50
51
52
53
54
services:
logger.channel.islandora_citations:
class: Drupal\Core\Logger\LoggerChannel
factory: logger.factory:get
arguments: ['islandora_citations']
islandora_citations.controller:
class: Drupal\islandora_citations\Controller\IslandoraCitationsController
arguments: ['@entity_field.manager']
islandora_citations.helper:
class: Drupal\islandora_citations\IslandoraCitationsHelper
arguments: ['@entity_type.manager', '@file_system', '@serializer', '@logger.channel.islandora_citations']
islandora_citations.route_subscriber:
class: Drupal\islandora_citations\Routing\RouteSubscriber
arguments: [ '@entity_type.manager', '@config.factory' ]
tags:
- { name: event_subscriber }
serializer.encoder.csljson:
class: Drupal\islandora_citations\Encoder\IslandoraCSLEncoder
tags:
- { name: encoder, priority: 20, format: csl-json }
serializer.islandora_citations.csljson.content_entity:
class: Drupal\islandora_citations\Normalizer\ContentEntityNormalizer
tags:
- { name: normalizer, priority: 10 }
serializer.islandora_citations.csljson.field_item_list:
class: Drupal\islandora_citations\Normalizer\FieldItemListNormalizer
tags:
- { name: normalizer, priority: 10 }
serializer.normalizer.typed_relation:
class: \Drupal\islandora_citations\Normalizer\TypedRelationNormalizer
tags:
- { name: normalizer, priority: 20 }
serializer.normalizer.datetime:
class: \Drupal\islandora_citations\Normalizer\DateTimeNormalizer
arguments: ['@config.factory','@date.formatter']
tags:
- { name: normalizer, priority: 10 }
serializer.normalizer.text_item:
class: Drupal\islandora_citations\Normalizer\TextItemNormalizer
tags:
- { name: normalizer, priority: 15 }
serializer.normalizer.string_item:
class: Drupal\islandora_citations\Normalizer\StringItemNormalizer
tags:
- { name: normalizer, priority: 10 }
serializer.normalizer.extended_date_time:
class: Drupal\islandora_citations\Normalizer\ExtendedDateTimeNormalizer
tags:
- { name: normalizer, priority: 20 }
serializer.normalizer.entity_references:
class: Drupal\islandora_citations\Normalizer\EntityReferenceNormalizer
arguments: ['@entity.repository']
tags:
- { name: normalizer, priority: 20 }