forked from openeuropa/rdf_entity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rdf_entity.services.yml
53 lines (53 loc) · 2.31 KB
/
rdf_entity.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
services:
entity.query.sparql:
class: \Drupal\rdf_entity\Entity\Query\Sparql\QueryFactory
arguments: ['@sparql_endpoint', '@entity_type.manager', '@sparql.graph_handler', '@sparql.field_handler']
tags:
- { name: backend_overridable }
sparql_endpoint:
class: Drupal\rdf_entity\Database\Driver\sparql\Connection
factory: ['Drupal\Core\Database\Database', getConnection]
arguments: [default, sparql_default]
webprofiler.sparql:
class: \Drupal\rdf_entity\DataCollector\SparqlDataCollector
arguments: ['@sparql_endpoint', '@config.factory']
tags:
- { name: data_collector, template:'@rdf_entity/Collector/sparql.html.twig', id:'sparql', title:'Sparql', priority: 60 }
paramconverter.rdf_entity:
class: \Drupal\rdf_entity\ParamConverter\RdfEntityConverter
tags:
# Use a higher priority than EntityConverter.
- { name: paramconverter, priority: 6 }
arguments: ['@entity.manager']
route_processor_rdf:
class: Drupal\rdf_entity\RouteProcessor\RouteProcessorRdf
arguments: ['@current_route_match']
tags:
- { name: route_processor_outbound, priority: 200 }
sparql.graph_handler:
class: \Drupal\rdf_entity\RdfGraphHandler
arguments: ['@entity_type.manager']
sparql.field_handler:
class: \Drupal\rdf_entity\RdfFieldHandler
arguments: ['@entity_type.manager', '@entity_field.manager', '@event_dispatcher']
plugin.manager.rdf_entity.id:
class: Drupal\rdf_entity\RdfEntityIdPluginManager
arguments: ['@container.namespaces', '@cache.discovery', '@module_handler', '@entity_type.manager']
rdf_entity.rdf_entity_route_context:
class: Drupal\rdf_entity\ContextProvider\RdfEntityRouteContext
arguments: ['@current_route_match']
tags:
- { name: 'context_provider' }
rdf_entity.inbound_value.datetime.subscriber:
class: Drupal\rdf_entity\EventSubscriber\InboundValueDateTimeSubscriber
tags:
- { name: event_subscriber }
rdf_entity.outbound_value.datetime.subscriber:
class: Drupal\rdf_entity\EventSubscriber\OutboundValueDateTimeSubscriber
tags:
- { name: event_subscriber }
rdf_entity.inbound_value.translatable_literal.subscriber:
class: Drupal\rdf_entity\EventSubscriber\InboundValueTranslatableLiteralSubscriber
arguments: ['@typed_data_manager']
tags:
- { name: event_subscriber }