src/Listener/DefaultFormLayoutListener.php
public function onGetPageLayout(PageModel $pageModel, LayoutModel $layoutModel): void
    {
        if ($this->manager->hasDefaultThemeLayout()) {
            return;
        }

        $this->manager->setDefaultThemeLayout($this->factory->create('bs_default', []));
    }
public function onGetPageLayout(PageModel $pageModel, LayoutModel $layoutModel): void
    {
        if ($this->manager->hasDefaultThemeLayout()) {
            return;
        }

        $this->manager->setDefaultThemeLayout($this->factory->create('bs_default', []));
    }
public function onGetPageLayout ( PageModel $ pageModel , LayoutModel $ layoutModel ) : void { if ( $ this -> manager -> hasDefaultThemeLayout ( ) ) { return ; } $ this -> manager -> setDefaultThemeLayout ( $ this -> factory -> create ( 'bs_default' , [ ] ) ) ; }
Create default bootstrap form layout.

@param PageModel   $pageModel   Page model.
@param LayoutModel $layoutModel Layout model.

@return void

@SuppressWarnings(PHPMD.UnusedFormalParameter)
Create default bootstrap form layout .