src/Adapter/Modifiers/PageMapModifier.php
protected function modifyByContactController($pagesContentMap)
    {
        /** @var \OxidEsales\Eshop\Application\Controller\ContactController $currentController */
        $currentController = Registry::getConfig()->getActiveView();
        if ($currentController->getContactSendStatus()) {
            $pagesContentMap['contact'] = $pagesContentMap['contact_success'];
        } else {
            $pagesContentMap['contact'] = $pagesContentMap['contact_failure'];
        }

        return $pagesContentMap;
    }
protected function modifyByContactController($pagesContentMap)
    {
        /** @var \OxidEsales\Eshop\Application\Controller\ContactController $currentController */
        $currentController = Registry::getConfig()->getActiveView();
        if ($currentController->getContactSendStatus()) {
            $pagesContentMap['contact'] = $pagesContentMap['contact_success'];
        } else {
            $pagesContentMap['contact'] = $pagesContentMap['contact_failure'];
        }

        return $pagesContentMap;
    }
@param array $pagesContentMap

@return array