/** * @param ViewComponent $view */ protected function buildViewPrototype(ViewComponent $view) { $view->setCssBaseTypeClass('view')->setComponentBaseType('view'); }
/** * @param View $view * @return string * @throws \Exception */ protected function renderView(View $view) { throw new FormException(sprintf("Cannot render component '%s': rendering view-based content components is not supported in the default view handler!", $view->getFullId())); }