protected function ProviderPluginBase::getFileSystem in Video Embed Field 8.2
Same name and namespace in other branches
- 8 src/ProviderPluginBase.php \Drupal\video_embed_field\ProviderPluginBase::getFileSystem()
Get the file system service.
Return value
\Drupal\Core\File\FileSystemInterface The file system service.
File
- src/
ProviderPluginBase.php, line 89
Class
- ProviderPluginBase
- A base for the provider plugins.
Namespace
Drupal\video_embed_fieldCode
protected function getFileSystem() {
if (!isset($this->fileSystem)) {
$this->fileSystem = \Drupal::service('file_system');
}
return $this->fileSystem;
}