/** * @return string */ public function getContentBlockStructure() { $template_id = intval($this->request->gp('template_id', 0)); $result = $this->db->getRepository('\\Fraym\\Template\\Entity\\Template')->findOneById($template_id); $result = $this->blockParser->getBlockOfType('content', $result->html); return implode('', $result); }