2 namespace TYPO3\CMS\Filelist\ViewHelpers\Uri;
36 public function render(\TYPO3\CMS\Core\Resource\AbstractFile $file, $returnUrl =
'')
38 return static::renderStatic(
41 'returnUrl' => $returnUrl,
44 $this->renderingContext
60 if (
$GLOBALS[
'BE_USER'] instanceof \TYPO3\CMS\Core\Authentication\BackendUserAuthentication) {
64 if (empty($arguments[
'returnUrl'])) {
69 $file = $arguments[
'file'];
75 'data' => $file->getCombinedIdentifier()
79 'redirect' => $arguments[
'returnUrl']
82 return BackendUtility::getModuleUrl(
'tce_file', $params) . $veriCode;