FluidTYPO3\Flux\View\PreviewView::drawRecord PHP Method

drawRecord() protected method

protected drawRecord ( array $parentRow, FluidTYPO3\Flux\Form\Container\Column $column, array $record, PageLayoutView $dblist ) : string
$parentRow array
$column FluidTYPO3\Flux\Form\Container\Column
$record array
$dblist PageLayoutView
return string
    protected function drawRecord(array $parentRow, Column $column, array $record, PageLayoutView $dblist)
    {
        $colPosFluxContent = ContentService::COLPOS_FLUXCONTENT;
        $disabledClass = FALSE === empty($record['isDisabled']) ? ' t3-page-ce-hidden' : '';
        $element = $this->drawElement($record, $dblist);
        if (0 === (int) $dblist->tt_contentConfig['languageMode']) {
            $element = '<div class="t3-page-ce-dragitem">' . $element . '</div>';
        }
        return sprintf($this->templates['record'], $disabledClass, $record['_CSSCLASS'], $record['uid'], $record['uid'], $element, $colPosFluxContent, $parentRow['pid'], $parentRow['uid'], $record['uid'], $this->drawNewIcon($parentRow, $column, $record['uid']) . $this->drawPasteIcon($parentRow, $column, FALSE, $record) . $this->drawPasteIcon($parentRow, $column, TRUE, $record));
    }