public static function getEditTheme()
    {
        if (self::$editThemeCache !== false) {
            return self::$editThemeCache;
        }

        $theme = static::load(static::getEditThemeCode());

        if (!File::isDirectory($theme->getPath())) {
            return self::$editThemeCache = null;
        }

        return self::$editThemeCache = $theme;
    }
public static function getEditTheme()
    {
        if (self::$editThemeCache !== false) {
            return self::$editThemeCache;
        }

        $theme = static::load(static::getEditThemeCode());

        if (!File::isDirectory($theme->getPath())) {
            return self::$editThemeCache = null;
        }

        return self::$editThemeCache = $theme;
    }
public static function getEditTheme ( ) { if ( self :: $ editThemeCache !== false ) { return self :: $ editThemeCache ; } $ theme = static :: load ( static :: getEditThemeCode ( ) ) ; if ( ! File :: isDirectory ( $ theme -> getPath ( ) ) ) { return self :: $ editThemeCache = null ; } return self :: $ editThemeCache = $ theme ; }
Returns the edit theme.
@return \Cms\Classes\Theme Returns the loaded theme object.
Returns the edit theme .