You are here

private function GridStack::getFileSystem in GridStack 8.2

Gets the file system service.

Return value

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

File

src/Entity/GridStack.php, line 416

Class

GridStack
Defines the GridStack configuration entity.

Namespace

Drupal\gridstack\Entity

Code

private function getFileSystem() {
  if (!isset($this->fileSystem)) {
    $this->fileSystem = \Drupal::service('file_system');
  }
  return $this->fileSystem;
}