src/FormLayout/BootstrapFormLayoutFactory.php
private function buildHorizontalConfig(array $config): array
    {
        $horizontalConfig = $this->environment->getConfig()->get('form.layouts.horizontal.classes', []);

        foreach (['row', 'label', 'control', 'offset'] as $key) {
            if (!empty($config['bs_' . $key])) {
                $horizontalConfig[$key] = $config['bs_' . $key];
            }
        }

        return $horizontalConfig;
    }
private function buildHorizontalConfig(array $config): array
    {
        $horizontalConfig = $this->environment->getConfig()->get('form.layouts.horizontal.classes', []);

        foreach (['row', 'label', 'control', 'offset'] as $key) {
            if (!empty($config['bs_' . $key])) {
                $horizontalConfig[$key] = $config['bs_' . $key];
            }
        }

        return $horizontalConfig;
    }
private function buildHorizontalConfig ( array $ config ) : array { $ horizontalConfig = $ this -> environment -> getConfig ( ) -> get ( 'form.layouts.horizontal.classes' , [ ] ) ; foreach ( [ 'row' , 'label' , 'control' , 'offset' ] as $ key ) { if ( ! empty ( $ config [ 'bs_' . $ key ] ) ) { $ horizontalConfig [ $ key ] = $ config [ 'bs_' . $ key ] ; } } return $ horizontalConfig ; }
Build horizontal config.

@param array $config Horizontal config.

@return array
Build horizontal config .