services:
  _defaults:
    autoconfigure: true
  form_test.form.service_form:
    class: Drupal\form_test\FormTestServiceObject
    arguments: ['@config.factory', '@config.typed']
  form_test.event_subscriber:
    class: Drupal\form_test\EventSubscriber\FormTestEventSubscriber
  form_test.http_middleware:
    class: Drupal\form_test\StackMiddleware\FormTestMiddleware
    tags:
      - { name: http_middleware, priority: 0 }
