You are here

rng.services.yml in RNG - Events and Registrations 8.2

Same filename and directory in other branches
  1. 8 rng.services.yml
  2. 3.x rng.services.yml

File

rng.services.yml
View source
  1. services:
  2. rng.configuration:
  3. class: Drupal\rng\RngConfiguration
  4. arguments: ['@config.factory', '@plugin.manager.identity_channel']
  5. rng.event_manager:
  6. class: Drupal\rng\EventManager
  7. arguments: ['@entity.manager']
  8. parent: container.trait
  9. rng.cron:
  10. class: Drupal\rng\RngCron
  11. arguments: ['@queue', '@entity_type.manager']
  12. rng.entity.access:
  13. class: Drupal\rng\RngEntityAccess
  14. arguments: ['@rng.event_manager']
  15. rng.entity.model:
  16. class: Drupal\rng\RngEntityModel
  17. arguments: ['@entity_type.manager', '@rng.event_manager', '@plugin.manager.identity_channel']
  18. rng.registrant.factory:
  19. class: Drupal\rng\RegistrantFactory
  20. arguments: ['@entity_type.manager', '@rng.event_manager']
  21. rng.breadcrumb.registrant:
  22. class: Drupal\rng\Breadcrumb\RegistrantBreadcrumbBuilder
  23. tags:
  24. - { name: breadcrumb_builder, priority: 100 }
  25. rng.breadcrumb.registration:
  26. class: Drupal\rng\Breadcrumb\RegistrationBreadcrumbBuilder
  27. tags:
  28. - { name: breadcrumb_builder, priority: 100 }
  29. rng.breadcrumb.registration_group:
  30. class: Drupal\rng\Breadcrumb\GroupBreadcrumbBuilder
  31. tags:
  32. - { name: breadcrumb_builder, priority: 100 }
  33. rng.breadcrumb.rule_component:
  34. class: Drupal\rng\Breadcrumb\RuleComponentBreadcrumbBuilder
  35. tags:
  36. - { name: breadcrumb_builder, priority: 100 }
  37. rng.route_subscriber:
  38. class: Drupal\rng\Routing\RouteSubscriber
  39. arguments: ['@entity.manager', '@rng.event_manager']
  40. tags:
  41. - { name: event_subscriber }
  42. rng.request_subscriber:
  43. class: Drupal\rng\EventSubscriber\RngRequestSubscriber
  44. arguments: ['@entity_type.manager', '@rng.entity.model', '@rng.event_manager']
  45. tags:
  46. - { name: event_subscriber }
  47. rng.route_enhancer:
  48. class: Drupal\rng\Routing\Enhancer\RngRouteEnhancer
  49. tags:
  50. - { name: route_enhancer }
  51. access_check.rng.entity_is_event:
  52. class: Drupal\rng\Access\EntityIsEventCheck
  53. arguments: ['@rng.event_manager']
  54. tags:
  55. - { name: access_check, applies_to: _entity_is_event }
  56. access_check.rng.event_rule_reset:
  57. class: Drupal\rng\Access\EventRuleResetCheck
  58. arguments: ['@rng.event_manager']
  59. tags:
  60. - { name: access_check, applies_to: _event_rule_reset }
  61. access_check.rng.event_registrations_allowed:
  62. class: Drupal\rng\Access\RegistrationAddAccessCheck
  63. arguments: ['@entity.manager']
  64. tags:
  65. - { name: access_check, applies_to: _registration_add_access }
  66. rng.paramconverter.entity_type_rule_component:
  67. class: Drupal\rng\ParamConverter\ComponentTypeConverter
  68. arguments: ['@entity_type.manager']
  69. tags:
  70. - { name: paramconverter }
  71. rng.event_route_context:
  72. class: Drupal\rng\ContextProvider\RngEventRouteContext
  73. arguments: ['@current_route_match', '@rng.event_manager']
  74. tags:
  75. - { name: 'context_provider' }
  76. cache_context.rng_event:
  77. class: Drupal\rng\Cache\Context\RngEventCacheContext
  78. arguments: ['@rng.event_route_context']
  79. tags:
  80. - { name: cache.context }
  81. rng.registration_creation_subscriber:
  82. class: Drupal\rng\EventSubscriber\RngRegistrationCreationSubscriber
  83. arguments: ['@rng.event_manager']
  84. tags:
  85. - { name: event_subscriber }
  86. rng.registration_waitlist_subscriber:
  87. class: Drupal\rng\EventSubscriber\RegistrationWaitlistSubscriber
  88. arguments:
  89. - '@rng.event_manager'
  90. - '@messenger'
  91. tags:
  92. - { name: event_subscriber }