public function ServerFileList::__construct in Filebrowser 8.2
Same name and namespace in other branches
- 3.x src/ServerFileList.php \Drupal\filebrowser\ServerFileList::__construct()
ServerFileList constructor.
Parameters
\Drupal\node\NodeInterface $node:
string $relative_path:
File
- src/
ServerFileList.php, line 39
Class
Namespace
Drupal\filebrowserCode
public function __construct(NodeInterface $node, $relative_path) {
$this->serverFileList = $this
->createServerFileList($node, $relative_path);
$this->common = \Drupal::service('filebrowser.common');
$this->filebrowser = $node->filebrowser;
}