You are here

crm_core_match.services.yml in CRM Core 8

modules/crm_core_match/crm_core_match.services.yml

File

modules/crm_core_match/crm_core_match.services.yml
View source
  1. services:
  2. plugin.manager.crm_core_match.matchers:
  3. class: Drupal\Core\Plugin\DefaultPluginManager
  4. arguments:
  5. - 'Plugin/crm_core_match/engine'
  6. - '@container.namespaces'
  7. - '@module_handler'
  8. - 'Drupal\crm_core_match\Plugin\crm_core_match\engine\MatchEngineInterface'
  9. - 'Drupal\crm_core_match\Annotation\CrmCoreMatchEngine'
  10. calls:
  11. - [setCacheBackend, ['@cache.discovery', 'crm_core_match_engine_plugins']]
  12. plugin.manager.crm_core_match.match_field:
  13. class: Drupal\Core\Plugin\DefaultPluginManager
  14. arguments:
  15. - 'Plugin/crm_core_match/field'
  16. - '@container.namespaces'
  17. - '@module_handler'
  18. - 'Drupal\crm_core_match\Plugin\crm_core_match\field\FieldHandlerInterface'
  19. - 'Drupal\crm_core_match\Annotation\CrmCoreMatchFieldHandler'
  20. calls:
  21. - [setCacheBackend, ['@cache.discovery', 'crm_core_match_field_plugins']]