2 namespace TYPO3\CMS\Belog\ViewHelpers;
43 return static::renderStatic(
48 $this->renderingContext
64 $historyEntryRepository =
$objectManager->get(HistoryEntryRepository::class);
66 $historyEntry = $historyEntryRepository->findOneBySysLogUid($arguments[
'uid']);
78 array($historyEntry->getFieldlist())
84 $historyIcon = $iconFactory->getIcon(
'actions-document-history-open',
Icon::SIZE_SMALL)->render();
85 $historyHref = BackendUtility::getModuleUrl(
88 'sh_uid' => $historyEntry->getUid(),
92 $historyLink =
'<a href="' . htmlspecialchars($historyHref) .
'" title="' . htmlspecialchars($titleLable) .
'">' . $historyIcon .
'</a>';
93 return $historyLabel .
' ' . $historyLink;