services:
  workflow.manager:
    class: Drupal\workflow\Entity\WorkflowManager
    arguments: ['@config.factory', '@entity_field.manager', '@entity_type.manager', '@string_translation', '@module_handler', '@current_user']

  workflow.route_subscriber:
    class: Drupal\workflow\Routing\RouteSubscriber
    arguments: ['@entity_type.manager']
    tags:
      - { name: event_subscriber }
