concrete/src/Block/BlockType/Set.php
public static function getList($excluded = ['core_desktop'])
    {
        $result = [];
        $app = Application::getFacadeApplication();
        $db = $app->make(Connection::class);
        if (empty($excluded)) {
            $rs = $db->executeQuery('select btsID from BlockTypeSets order by btsDisplayOrder asc');
        } else {
            $rs = $db->executeQuery('select btsID from BlockTypeSets where btsHandle not in (?) order by btsDisplayOrder asc',
                [$excluded],
                [Connection::PARAM_STR_ARRAY]
            );
        }
        while (($btsID = $rs->fetchColumn()) !== false) {
            $result[] = static::getByID($btsID);
        }

        return $result;
    }
public static function getList($excluded = ['core_desktop'])
    {
        $result = [];
        $app = Application::getFacadeApplication();
        $db = $app->make(Connection::class);
        if (empty($excluded)) {
            $rs = $db->executeQuery('select btsID from BlockTypeSets order by btsDisplayOrder asc');
        } else {
            $rs = $db->executeQuery('select btsID from BlockTypeSets where btsHandle not in (?) order by btsDisplayOrder asc',
                [$excluded],
                [Connection::PARAM_STR_ARRAY]
            );
        }
        while (($btsID = $rs->fetchColumn()) !== false) {
            $result[] = static::getByID($btsID);
        }

        return $result;
    }
public static function getList ( $ excluded = [ 'core_desktop' ] ) { $ result = [ ] ; $ app = Application :: getFacadeApplication ( ) ; $ db = $ app -> make ( Connection :: class ) ; if ( empty ( $ excluded ) ) { $ rs = $ db -> executeQuery ( 'select btsID from BlockTypeSets order by btsDisplayOrder asc' ) ; } else { $ rs = $ db -> executeQuery ( 'select btsID from BlockTypeSets where btsHandle not in (?) order by btsDisplayOrder asc' , [ $ excluded ] , [ Connection :: PARAM_STR_ARRAY ] ) ; } while ( ( $ btsID = $ rs -> fetchColumn ( ) ) !== false ) { $ result [ ] = static :: getByID ( $ btsID ) ; } return $ result ; }
Get the list of block type sets.

@param string[] $excluded a list of block type set handles to be exluded

@return static[]
Get the list of block type sets .