You are here

public function ContentFileStorage::__construct in Default Content for D8 2.0.x

Constructs the content file storage.

Parameters

\Drupal\Core\File\FileSystemInterface $file_system: The filesystem service.

File

src/ContentFileStorage.php, line 27

Class

ContentFileStorage
Finds, reads and writes default content files.

Namespace

Drupal\default_content

Code

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