lightning_scheduler.services.yml in Lightning Workflow 8.3
Same filename and directory in other branches
modules/lightning_scheduler/lightning_scheduler.services.yml
File
modules/lightning_scheduler/lightning_scheduler.services.ymlView 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'
-
- lightning_scheduler.migrator:
- class: 'Drupal\lightning_scheduler\Migrator'
- arguments:
- - '@entity_type.manager'
- - '@database'
- - '@state'
- - '@messenger'
- - '@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