function getLocationMarker(&$template, &$sims, &$rems, &$wrapped, $view) { if ($this->getLocationId() > 0) { $sims['###LOCATION###'] = $this->getLocationLink($view); } else { $this->initLocalCObject($this->getValuesAsArray()); if ($this->getLocationPage() > 0) { $this->local_cObj->data['link_parameter'] = $this->getLocationPage(); } else { $this->local_cObj->data['link_parameter'] = $this->getLocationLinkUrl(); } $this->local_cObj->setCurrentVal($this->getLocation()); $sims['###LOCATION###'] = $this->local_cObj->cObjGetSingle($this->conf['view.'][$view . '.']['event.']['location'], $this->conf['view.'][$view . '.']['event.']['location.']); } if ($view == 'ics' || $view == 'ics_single') { $sims['###LOCATION###'] = \TYPO3\CMS\Cal\Utility\Functions::replaceLineFeed($sims['###LOCATION###']); } }