You are here

public function UnmanagedFilesService::__construct in Fancy File Delete 2.0.x

Constructs a new UnmanagedFilesService.

Parameters

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

\Drupal\Core\Database\Connection $database: The current database connection.

\Drupal\Core\State\StateInterface $state: The state.

File

src/UnmanagedFilesService.php, line 46

Class

UnmanagedFilesService
Class UnmanagedFilesService.

Namespace

Drupal\fancy_file_delete

Code

public function __construct(FileSystemInterface $file_system, Connection $database, StateInterface $state) {
  $this->fileSystem = $file_system;
  $this->database = $database;
  $this->state = $state;
}