You are here

public function DisplayFileList::get in Filebrowser 8.2

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

Return value

mixed

File

src/File/DisplayFileList.php, line 114

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

public function get() {
  return [
    'data' => $this->data,
    'files' => $this->files,
  ];
}