services:

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