protected function DisplayFileList::buildFileRelativePath in Filebrowser 8.2
Same name and namespace in other branches
- 3.x src/File/DisplayFileList.php \Drupal\filebrowser\File\DisplayFileList::buildFileRelativePath()
1 call to DisplayFileList::buildFileRelativePath()
File
- src/
File/ DisplayFileList.php, line 366
Class
- DisplayFileList
- Class FileDisplayList @package Drupal\filebrowser This class holds the list of files to be displayed on the filebrowser node. These files are retrieved from the filesystem and filtered for user and node access. The array produced by this class…
Namespace
Drupal\filebrowser\FileCode
protected function buildFileRelativePath($fs_filename, $encoding) {
$filename = $this->validator
->encodingToFs($encoding, $fs_filename);
return $this->relativePath . ($this->relativePath != '/' ? '/' : '') . $filename;
}