contacts_events-8.x-1.x-dev/modules/teams/contacts_events_teams.services.yml
modules/teams/contacts_events_teams.services.yml
services: access_check._contacts_events_teams._contacts_events_teams: class: Drupal\contacts_events_teams\Access\TeamsAccessChecker tags: - { name: access_check, applies_to: _contacts_events_teams } contacts_events_teams.queries: arguments: ['@entity_type.manager', '@database'] class: Drupal\contacts_events_teams\TeamQueries plugin.manager.team_application_step: class: Drupal\contacts_events_teams\Plugin\TeamApplicationStep\TeamApplicationStepManager parent: default_plugin_manager arguments: ['@form_builder', '@class_resolver', '@entity_type.manager', '@string_translation'] contacts_events_teams.email_service: class: Drupal\contacts_events_teams\TeamEmailService arguments: ['@config.factory', '@token', '@plugin.manager.mail', '@language_manager'] # Event subscribers. contacts_events_teams.ticket_price_calculation_subscriber: class: Drupal\contacts_events_teams\EventSubscriber\PriceCalculationSubscriber tags: - { name: 'event_subscriber' } contacts_events_teams.clone_event_subscriber: class: Drupal\contacts_events_teams\EventSubscriber\TeamsCloneEventSubscriber arguments: ['@entity_type.manager', '@settings'] tags: - { name: event_subscriber } contacts_events_teams.route_subscriber: class: Drupal\contacts_events_teams\EventSubscriber\RouteSubscriber tags: - { name: event_subscriber } # State machine contacts_events_teams.workflow_guard: class: Drupal\contacts_events_teams\Guard\TeamWorkflowGuard arguments: ['@contacts_events_teams.queries'] tags: - { name: state_machine.guard, group: contacts_events_order_items } contacts_events_teams.team_ticket_state_subscriber: class: Drupal\contacts_events_teams\EventSubscriber\TeamTicketStateSubscriber arguments: ['@contacts_events.price_calculator', '@event_dispatcher', '@contacts_events_teams.queries'] tags: - { name: event_subscriber } contacts_events_teams.team_email_subscriber: class: Drupal\contacts_events_teams\EventSubscriber\TeamEmailSubscriber arguments: ['@config.factory', '@contacts_events_teams.email_service', '@current_user', '@contacts_events_teams.queries', '@logger.factory'] tags: - { name: event_subscriber } # Form alters. contacts_events_teams.form_alter.ticket: class: Drupal\contacts_events_teams\Form\TicketFormAlter arguments: ['@entity_type.manager', '@current_user', '@contacts_events_teams.queries', '@event_dispatcher']