data['tx_eptheme_context_region']; if ((int)$uid > 0) { $content = BackendUtility::getRecord('tx_epproducts_domain_model_region', $uid); } else { $uid = $this->data['tx_eptheme_context_hotel']; $content = BackendUtility::getRecord('tx_epproducts_domain_model_hotel', $uid); } return [ 'content' => $content, ]; } }