/**
  * @param Template $template
  *
  * @return Response
  */
 public function editorViewAction(Request $request, Template $template)
 {
     $request->request->set('blockMode', 'manage');
     return $this->render($template->getView(), ['block' => $template]);
 }
Beispiel #2
0
 /**
  * @return string
  */
 public function getView()
 {
     return $this->template->getView();
 }