You are here

public function SanitizerHelper::__construct in SVG Upload Sanitizer 8

SanitizerHelper constructor.

Parameters

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

\enshrined\svgSanitize\Sanitizer $sanitizer: The sanitizer.

File

src/Helper/SanitizerHelper.php, line 43

Class

SanitizerHelper
Sanitizer Helper class.

Namespace

Drupal\svg_upload_sanitizer\Helper

Code

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