19 $widgetInstance = $this->_initWidgetInstance();
20 $layout = $this->
getRequest()->getParam(
'layout');
21 $selected = $this->
getRequest()->getParam(
'selected',
null);
22 $blocksChooser = $this->_view->getLayout()->createBlock(
27 $widgetInstance->getArea()
29 $widgetInstance->getThemeId()
32 )->setAllowedContainers(
33 $widgetInstance->getWidgetSupportedContainers()
35 $this->
setBody($blocksChooser->toHtml());
45 $this->_objectManager->get(
49 [$this,
'renderPageContainers']