services:
  farm_import_csv.access:
    class: Drupal\farm_import_csv\Access\CsvImportMigrationAccess
    arguments: [ '@plugin.manager.migration' ]
    tags:
      - { name: 'access_check' }
  farm_import_csv.migration_subscriber:
    class: Drupal\farm_import_csv\EventSubscriber\CsvMigrationSubscriber
    arguments: [ '@database', '@current_user', '@tempstore.private' ]
    tags:
      - { name: 'event_subscriber' }
  farm_import_csv.config_subscriber:
    class: Drupal\farm_import_csv\EventSubscriber\CsvMigrationConfigSubscriber
    arguments: [ '@router.builder' ]
    tags:
      - { name: 'event_subscriber' }
