public function ConfigPartialExportController::downloadExport in Config Partial Export 8
Downloads a tarball of the site configuration.
1 string reference to 'ConfigPartialExportController::downloadExport'
File
- src/
Controller/ ConfigPartialExportController.php, line 44
Class
- ConfigPartialExportController
- Returns responses for config module routes.
Namespace
Drupal\config_partial_export\ControllerCode
public function downloadExport() {
$request = new Request([
'file' => 'config_partial.tar.gz',
]);
$result = $this->fileDownloadController
->download($request, 'temporary');
return $result;
}