src/Magento/Helpers/FormMapper.php
protected function getMagentoElementSettings(array $field)
    {
        $config = array();

        if ($field['type'] === 'details') {
            $config['collapsable'] = true;
            $config['opened'] = false;
        }

        foreach ($field as $key => $value) {
            $config += $this->getMagentoProperty($key, $value, $field['type']);
        }
        return $config;
    }
protected function getMagentoElementSettings(array $field)
    {
        $config = array();

        if ($field['type'] === 'details') {
            $config['collapsable'] = true;
            $config['opened'] = false;
        }

        foreach ($field as $key => $value) {
            $config += $this->getMagentoProperty($key, $value, $field['type']);
        }
        return $config;
    }
protected function getMagentoElementSettings ( array $ field ) { $ config = array ( ) ; if ( $ field [ 'type' ] === 'details' ) { $ config [ 'collapsable' ] = true ; $ config [ 'opened' ] = false ; } foreach ( $ field as $ key => $ value ) { $ config += $ this -> getMagentoProperty ( $ key , $ value , $ field [ 'type' ] ) ; } return $ config ; }
Returns the Magento form element settings.

@param array $field
The Acumulus field settings.

@return array
The Magento form element settings.
Returns the Magento form element settings .