src/Laravel/StorageStructure.php
public function getGroupFieldsModels($blockName, $groupName)
    {
        $struct = $this->getGroupConfig($blockName, $groupName);

        $fields_flat = [];

        $types = $this->getTypes();

        foreach($types as $type=>$model)
        {
            if(array_key_exists($type, $struct))
            {
                foreach($struct[$type] as $fieldname)
                {
                    $fields_flat[$fieldname] = $model;
                }
            }
        }

        return $fields_flat;
    }
public function getGroupFieldsModels($blockName, $groupName)
    {
        $struct = $this->getGroupConfig($blockName, $groupName);

        $fields_flat = [];

        $types = $this->getTypes();

        foreach($types as $type=>$model)
        {
            if(array_key_exists($type, $struct))
            {
                foreach($struct[$type] as $fieldname)
                {
                    $fields_flat[$fieldname] = $model;
                }
            }
        }

        return $fields_flat;
    }
@param string $blockName

@param string $groupName

@return bool