src/Adapter/Modifiers/EntityModifierByCurrentAction.php
protected function modifyByNewsletterController()
    {
        /** @var \OxidEsales\Eshop\Application\Controller\NewsletterController $currentController */
        $currentController = Registry::getConfig()->getActiveView();
        if ($currentController->getNewsletterStatus()) {
            $this->activePageEntity->setNewsletterMessage('Newsletter registriert');
        }
    }
protected function modifyByNewsletterController()
    {
        /** @var \OxidEsales\Eshop\Application\Controller\NewsletterController $currentController */
        $currentController = Registry::getConfig()->getActiveView();
        if ($currentController->getNewsletterStatus()) {
            $this->activePageEntity->setNewsletterMessage('Newsletter registriert');
        }
    }
Sets if newsletter have been subscribed.