services:
  state_machine.guard_factory:
    class: Drupal\state_machine\Guard\GuardFactory
    arguments: ['@service_container']

  plugin.manager.workflow:
    class: Drupal\state_machine\WorkflowManager
    arguments: ['@module_handler', '@cache.discovery', '@plugin.manager.workflow_group']

  plugin.manager.workflow_group:
    class: Drupal\state_machine\WorkflowGroupManager
    arguments: ['@module_handler', '@cache.discovery']
