Use interfaces to allow for overwritten services

Created on 20 June 2024, 6 months ago
Updated 18 July 2024, 5 months ago

When using the remote_file_importer with s3fs, I get the following error on installation:

TypeError: Drupal\remote_file_importer\Services\ImportService::__construct(): Argument #2 ($fileSystem) must be of type Drupal\Core\File\FileSystem, Drupal\s3fs\S3fsFileService given

The code needs to be adapted to request interfaces instead of classes.

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇨🇭Switzerland pvbergen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024