You are here

protected static function AssetFileStorage::getFileSystemService in Asset Injector 8.2

Get the Drupal file system service.

Return value

\Drupal\Core\File\FileSystemInterface File System service.

1 call to AssetFileStorage::getFileSystemService()
AssetFileStorage::createFile in src/AssetFileStorage.php
Create file and return internal uri.

File

src/AssetFileStorage.php, line 107

Class

AssetFileStorage
Class AssetFileStorage.

Namespace

Drupal\asset_injector

Code

protected static function getFileSystemService() {
  return \Drupal::service('file_system');
}