24 private $contextFactory;
29 private $uiComponentFactory;
41 $this->contextFactory = $contextFactory;
42 $this->uiComponentFactory = $uiComponentFactory;
54 $context = $this->contextFactory->create([
56 'pageLayout' => $layout,
59 $component = $this->uiComponentFactory->create(
66 return $this->prepareComponent($component);
78 if (!empty($childComponents)) {
79 foreach ($childComponents as $child) {
80 $this->prepareComponent($child);
generateUiComponent($name, \Magento\Framework\View\LayoutInterface $layout)
__construct(ContextFactory $contextFactory, UiComponentFactory $uiComponentFactory)
if(!isset($_GET['name'])) $name