concrete/src/File/Image/Thumbnail/Type/Type.php
public static function getVersionList()
    {
        $app = Application::getFacadeApplication();
        $config = $app->make('config');
        $createHightDPIVersions = (bool) $config->get('concrete.file_manager.images.create_high_dpi_thumbnails');

        $types = static::getList();
        $versions = [];

        foreach ($types as $type) {
            $versions[] = $type->getBaseVersion();
            if ($createHightDPIVersions) {
                $versions[] = $type->getDoubledVersion();
            }
        }

        return $versions;
    }
public static function getVersionList()
    {
        $app = Application::getFacadeApplication();
        $config = $app->make('config');
        $createHightDPIVersions = (bool) $config->get('concrete.file_manager.images.create_high_dpi_thumbnails');

        $types = static::getList();
        $versions = [];

        foreach ($types as $type) {
            $versions[] = $type->getBaseVersion();
            if ($createHightDPIVersions) {
                $versions[] = $type->getDoubledVersion();
            }
        }

        return $versions;
    }
public static function getVersionList ( ) { $ app = Application :: getFacadeApplication ( ) ; $ config = $ app -> make ( 'config' ) ; $ createHightDPIVersions = ( bool ) $ config -> get ( 'concrete.file_manager.images.create_high_dpi_thumbnails' ) ; $ types = static :: getList ( ) ; $ versions = [ ] ; foreach ( $ types as $ type ) { $ versions [ ] = $ type -> getBaseVersion ( ) ; if ( $ createHightDPIVersions ) { $ versions [ ] = $ type -> getDoubledVersion ( ) ; } } return $ versions ; }
Get the list of all the available thumbnail type versions.

@return \Concrete\Core\File\Image\Thumbnail\Type\Version[]
Get the list of all the available thumbnail type versions .