/**
* Render the view
*
* @return string The rendered view
* @api
*/
public function render()
{
$this->initializeTypoScriptRuntime();
if ($this->typoScriptRuntime->canRender($this->getTypoScriptPathForCurrentRequest()) || $this->fallbackViewEnabled === false) {
return $this->renderTypoScript();
} else {
return $this->renderFallbackView();
}
}