civicrm_entity-8.x-3.0-beta1/civicrm_entity.services.yml
civicrm_entity.services.yml
services:
civicrm_entity.api:
class: 'Drupal\civicrm_entity\CiviCrmApi'
arguments: ['@civicrm']
Drupal\civicrm_entity\CiviCrmApiInterface: '@civicrm_entity.api'
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.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 }
Drupal\civicrm_entity\Hook\EntityAlterHooks:
class: Drupal\civicrm_entity\Hook\EntityAlterHooks
autowire: true
Drupal\civicrm_entity\Hook\EntityHooks:
class: Drupal\civicrm_entity\Hook\EntityHooks
autowire: true
Drupal\civicrm_entity\Hook\FormHooks:
class: Drupal\civicrm_entity\Hook\FormHooks
autowire: true
Drupal\civicrm_entity\Hook\QueryHooks:
class: Drupal\civicrm_entity\Hook\QueryHooks
autowire: true
Drupal\civicrm_entity\Hook\RulesHooks:
class: Drupal\civicrm_entity\Hook\RulesHooks
autowire: true
