lightning_scheduler.services.yml in Lightning Scheduler 8
File
lightning_scheduler.services.yml
View source
- services:
- lightning_scheduler.transition_manager:
- class: '\Drupal\lightning_scheduler\TransitionManager'
- arguments:
- - '@content_moderation.moderation_information'
- - '@current_user'
- - '@entity_type.manager'
- - '@logger.channel.cron'
- - '@string_translation'
-
- # To facilitate testing, decorate the datetime.time service with an
- # implementation that can return an arbitrary request time from state.
- lightning_scheduler.datetime.time:
- public: false
- class: 'Drupal\lightning_scheduler\Time'
- decorates: datetime.time
- arguments:
- - '@request_stack'
- - '@state'
- # Workaround for serializing decorated services. Remove when either
- # https://www.drupal.org/project/drupal/issues/2896993 or
- # https://www.drupal.org/project/drupal/issues/2531564 are fixed.
- properties:
- _serviceId: datetime.time