-
Notifications
You must be signed in to change notification settings - Fork 63
/
Copy pathcivicrm_entity.services.yml
39 lines (33 loc) · 1.42 KB
/
civicrm_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
services:
civicrm_entity.api:
class: 'Drupal\civicrm_entity\CiviCrmApi'
arguments: ['@civicrm']
civicrm_entity.field_definition_provider:
class: Drupal\civicrm_entity\Entity\FieldDefinitionProvider
entity.query.civicrm_entity:
class: '\Drupal\civicrm_entity\Entity\Query\CiviCRM\QueryFactory'
arguments: ['@civicrm_entity.api']
tags:
- { name: backend_overridable }
civicrm_entity.field_ui_route_subscriber:
class: Drupal\civicrm_entity\Routing\RouteSubscriber
arguments: [ '@entity_type.manager', '@module_handler' ]
tags:
- { name: event_subscriber }
civicrm_entity.module_installer:
class: Drupal\civicrm_entity\ModuleInstaller
decorates: module_installer
public: true
arguments: ['@civicrm_entity.module_installer.inner', '%app.root%', '@module_handler', '@kernel', '@database', '@update.update_hook_registry', '@logger.factory']
tags:
- { name: service_collector, tag: 'module_install.uninstall_validator', call: addUninstallValidator }
civicrm_entity.contact_checksum_access_checker:
class: Drupal\civicrm_entity\Access\ContactChecksumCheckAccess
autowire: true
arguments: ['@request_stack', '@civicrm_entity.api']
tags:
- {name: access_check, applies_to: _civicrm_entity_checksum_access_check }
civicrm_entity.search_api:
class: Drupal\civicrm_entity\EventSubscriber\SearchApiSubscriber
tags:
- { name: event_subscriber }