protected function drawElement(array $row, PageLayoutView $dblist)
{
$footerRenderMethod = new \ReflectionMethod($dblist, 'tt_content_drawFooter');
$footerRenderMethod->setAccessible(TRUE);
$space = 0;
$langMode = $dblist->tt_contentConfig['languageMode'];
$dragDropEnabled = $this->getBackendUser()->doesUserHaveAccess($dblist->getPageinfo(), Permission::CONTENT_EDIT);
$disableMoveAndNewButtons = !$dragDropEnabled;
// Necessary for edit button in workspace.
$dblist->tt_contentData['nextThree'][$row['uid']] = $row['uid'];
$rendered = $dblist->tt_content_drawHeader($row, $space, $disableMoveAndNewButtons, $langMode, $dragDropEnabled);
$rendered .= '<div class="t3-page-ce-body-inner">' . $dblist->tt_content_drawItem($row) . '</div>';
$rendered .= $footerRenderMethod->invokeArgs($dblist, array($row));
$rendered .= '</div>';
return $rendered;
}