services:
  webform_submission_export_import.importer:
    class: Drupal\webform_submission_export_import\WebformSubmissionExportImportImporter
    arguments: ['@config.factory', '@logger.factory', '@entity_type.manager', '@plugin.manager.webform.element', '@file_system']

  webform_submission_export_import.route_subscriber:
    class: Drupal\webform_submission_export_import\Routing\WebformSubmissionExportImportRouteSubscriber
    arguments: ['@module_handler']
    tags:
      - { name: event_subscriber }

  # Logger.

  logger.channel.webform_submission_export_import:
    class: Drupal\Core\Logger\LoggerChannel
    factory: logger.factory:get
    arguments: ['webform_submission_export_import']
