You are here

protected function DisplayFileList::makeAnchor in Filebrowser 3.x

Same name and namespace in other branches
  1. 8.2 src/File/DisplayFileList.php \Drupal\filebrowser\File\DisplayFileList::makeAnchor()

Need this function to build the "Go-up" and Navigate-to-folder links in the icon view todo: solve this better by integrating with makeLink()

Parameters

\Drupal\filebrowser\File\DisplayFile $file:

null|int $fid:

File

src/File/DisplayFileList.php, line 363

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\File

Code

protected function makeAnchor(DisplayFile $file, $fid = null) {
}