protected function initializeLayout(FieldsBuilder $layout, $args = [])
    {
        $layout->setGroupConfig('name', $layout->getName());
        $layout->setGroupConfig('display', 'block');

        foreach ($args as $key => $value) {
            $layout->setGroupConfig($key, $value);
        }

        $layout->setParentContext($this);

        return $layout;
    }
protected function initializeLayout(FieldsBuilder $layout, $args = [])
    {
        $layout->setGroupConfig('name', $layout->getName());
        $layout->setGroupConfig('display', 'block');

        foreach ($args as $key => $value) {
            $layout->setGroupConfig($key, $value);
        }

        $layout->setParentContext($this);

        return $layout;
    }
protected function initializeLayout ( FieldsBuilder $ layout , $ args = [ ] ) { $ layout -> setGroupConfig ( 'name' , $ layout -> getName ( ) ) ; $ layout -> setGroupConfig ( 'display' , 'block' ) ; foreach ( $ args as $ key => $ value ) { $ layout -> setGroupConfig ( $ key , $ value ) ; } $ layout -> setParentContext ( $ this ) ; return $ layout ; }
Configures the layout FieldsBuilder
@param  FieldsBuilder $layout
@param  array         $args FieldGroup Configuration
@return FieldsBuilder Configured Layout
Configures the layout FieldsBuilder