public function ExportDownload::__construct in Bibliography & Citation 2.0.x
Same name and namespace in other branches
- 8 modules/bibcite_export/src/Controller/ExportDownload.php \Drupal\bibcite_export\Controller\ExportDownload::__construct()
Construct a new ExportDownload controller object.
Parameters
\Drupal\Core\Entity\EntityStorageInterface $file_storage: Storage of the File entity.
File
- modules/
bibcite_export/ src/ Controller/ ExportDownload.php, line 30
Class
- ExportDownload
- Download a file created by "Export all" form.
Namespace
Drupal\bibcite_export\ControllerCode
public function __construct(EntityStorageInterface $file_storage) {
$this->fileStorage = $file_storage;
}