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;
    }