Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 297347

Image media source uses FileSystem class instead of FileSystemInterface for type hinting

$
0
0

Problem/Motivation

core/modules/media/src/Plugin/media/Source/Image.php is using Drupal\Core\File\FileSystem class instead of Drupal\Core\File\FileSystemInterface for type hinting in its constructor.
This causes problem when someone wants to use custom FileSystem class instead of default one.
It works fine if we use FileSystemInterface instead of FileSystem.


Viewing all articles
Browse latest Browse all 297347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>