protected function breadcrumb(EnvironmentInterface $environment)
{
$event = new GetBreadcrumbEvent($environment);
$environment->getEventDispatcher()->dispatch($event::NAME, $event);
$arrReturn = $event->getElements();
if (!is_array($arrReturn) || count($arrReturn) == 0) {
return null;
}
$GLOBALS['TL_CSS'][] = 'system/modules/dc-general/html/css/generalBreadcrumb.css';
$objTemplate = new ContaoBackendViewTemplate('dcbe_general_breadcrumb');
$objTemplate->elements = $arrReturn;
return $objTemplate->parse();
}