2 namespace TYPO3\CMS\CssStyledContent\Hooks\PageLayoutView;
33 \TYPO3\CMS\Backend\View\PageLayoutView &$parentObject,
39 if ($row[
'CType'] ===
'textpic') {
40 if ($row[
'bodytext']) {
41 $itemContent .= $parentObject->linkEditContent($parentObject->renderText($row[
'bodytext']), $row) .
'<br />';
45 $itemContent .= $parentObject->linkEditContent($parentObject->getThumbCodeUnlinked($row,
'tt_content',
'image'), $row);
47 $fileReferences = \TYPO3\CMS\Backend\Utility\BackendUtility::resolveFileReferences(
'tt_content',
'image', $row);
49 if (!empty($fileReferences)) {
52 foreach ($fileReferences as $fileReference) {
53 $description = $fileReference->getDescription();
54 if ($description !== null && $description !==
'') {
55 $linkedContent .= htmlspecialchars($description) .
'<br />';
59 $itemContent .= $parentObject->linkEditContent($linkedContent, $row);
61 unset($linkedContent);