protected function fetchBannerArticleId()
    {
        $database = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();

        $articleId = $database->getOne(
            'select oxobjectid from oxobject2action ' .
            'where oxactionid=' . $database->quote($this->getId()) .
            ' and oxclass="oxarticle"'
        );

        return $articleId;
    }