예제 #1
0
 /**
  * Build
  *
  * @param UiComponentInterface $component
  * @return array
  */
 public function build(UiComponentInterface $component)
 {
     $this->component = $component;
     $this->namespace = $component->getContext()->getNamespace();
     $this->addNavigationBlock();
     // Initialization of structure components
     $this->initSections();
     $this->initAreas();
     return parent::build($component);
 }
예제 #2
0
 /**
  * Build
  *
  * @param UiComponentInterface $component
  * @return array
  */
 public function build(UiComponentInterface $component)
 {
     $this->component = $component;
     $this->namespace = $component->getContext()->getNamespace();
     $this->addNavigationBlock();
     // Register html content element
     $this->component->getContext()->addComponentDefinition('html_content', ['component' => 'Magento_Ui/js/form/components/html', 'extends' => $this->namespace]);
     // Initialization of structure components
     $this->initSections();
     $this->initAreas();
     return parent::build($component);
 }