You are here

private function FileStorage::getFileSystem in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/FileStorage.php \Drupal\Core\Config\FileStorage::getFileSystem()

Returns file system service.

Return value

\Drupal\Core\File\FileSystemInterface The file system service.

File

core/lib/Drupal/Core/Config/FileStorage.php, line 368

Class

FileStorage
Defines the file storage.

Namespace

Drupal\Core\Config

Code

private function getFileSystem() {
  return \Drupal::service('file_system');
}