source/Application/Model/Actions.php
public function getBannerArticle()
    {
        $sArtId = $this->fetchBannerArticleId();

        if ($sArtId) {
            $oArticle = oxNew(\OxidEsales\Eshop\Application\Model\Article::class);

            if ($this->isAdmin()) {
                $oArticle->setLanguage(\OxidEsales\Eshop\Core\Registry::getLang()->getEditLanguage());
            }

            if ($oArticle->load($sArtId)) {
                return $oArticle;
            }
        }

        return null;
    }
public function getBannerArticle()
    {
        $sArtId = $this->fetchBannerArticleId();

        if ($sArtId) {
            $oArticle = oxNew(\OxidEsales\Eshop\Application\Model\Article::class);

            if ($this->isAdmin()) {
                $oArticle->setLanguage(\OxidEsales\Eshop\Core\Registry::getLang()->getEditLanguage());
            }

            if ($oArticle->load($sArtId)) {
                return $oArticle;
            }
        }

        return null;
    }
public function getBannerArticle ( ) { $ sArtId = $ this -> fetchBannerArticleId ( ) ; if ( $ sArtId ) { $ oArticle = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ Article :: class ) ; if ( $ this -> isAdmin ( ) ) { $ oArticle -> setLanguage ( \ OxidEsales \ Eshop \ Core \ Registry :: getLang ( ) -> getEditLanguage ( ) ) ; } if ( $ oArticle -> load ( $ sArtId ) ) { return $ oArticle ; } } return null ; }
return assigned banner article

@return oxArticle
return assigned banner article