You are here

public function FileHelper::__construct in SVG Upload Sanitizer 8

FileHelper constructor.

Parameters

\Drupal\Core\File\FileSystemInterface $file_system: The Drupal file system helper.

File

src/Helper/FileHelper.php, line 34

Class

FileHelper
File helper class.

Namespace

Drupal\svg_upload_sanitizer\Helper

Code

public function __construct(FileSystemInterface $file_system) {
  $this->fileSystem = $file_system;
}