function LocalStream::getFileSystem
Same name in other branches
- 9 core/lib/Drupal/Core/StreamWrapper/LocalStream.php \Drupal\Core\StreamWrapper\LocalStream::getFileSystem()
- 8.9.x core/lib/Drupal/Core/StreamWrapper/LocalStream.php \Drupal\Core\StreamWrapper\LocalStream::getFileSystem()
- 11.x core/lib/Drupal/Core/StreamWrapper/LocalStream.php \Drupal\Core\StreamWrapper\LocalStream::getFileSystem()
Returns file system service.
Return value
\Drupal\Core\File\FileSystemInterface The file system service.
File
-
core/
lib/ Drupal/ Core/ StreamWrapper/ LocalStream.php, line 428
Class
- LocalStream
- Defines a Drupal stream wrapper base class for local files.
Namespace
Drupal\Core\StreamWrapperCode
private function getFileSystem() {
return \Drupal::service('file_system');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.