src/Adapter/Modifiers/PageMapModifier.php
public function modifyPagesMap($parameters)
    {
        $pagesContentMap = $this->pagesMap->getPagesContent();
        $product = (isset($parameters['product']) && $parameters['product']) ? $parameters['product'] : null;
        $currentController = Registry::getConfig()->getActiveView();
        $controllerName = $this->pageIdentifiers->getCurrentControllerName();

        switch ($controllerName) {
            case 'user':
                $pagesContentMap = $this->modifyByUserController($pagesContentMap);
                break;
            case 'oxwarticledetails':
                $pagesContentMap = $this->modifyByOxwArticleDetailsController($pagesContentMap, $product);
                break;
            case 'alist':
                $pagesContentMap = $this->modifyByAListController($pagesContentMap);
                break;
            case 'account':
                $pagesContentMap = $this->modifyByAccountController($pagesContentMap, $currentController->getFncName());
                break;
            case 'contact':
                $pagesContentMap = $this->modifyByContactController($pagesContentMap);
                break;
            case 'newsletter':
                $pagesContentMap = $this->modifyByNewsletterController($pagesContentMap);
                break;
            case 'info':
                $pagesContentMap = $this->modifyByInfoController($pagesContentMap);
                break;
            case 'content':
                $pagesContentMap = $this->modifyByContentController($pagesContentMap, $parameters);
                break;
        }

        return $pagesContentMap;
    }
public function modifyPagesMap($parameters)
    {
        $pagesContentMap = $this->pagesMap->getPagesContent();
        $product = (isset($parameters['product']) && $parameters['product']) ? $parameters['product'] : null;
        $currentController = Registry::getConfig()->getActiveView();
        $controllerName = $this->pageIdentifiers->getCurrentControllerName();

        switch ($controllerName) {
            case 'user':
                $pagesContentMap = $this->modifyByUserController($pagesContentMap);
                break;
            case 'oxwarticledetails':
                $pagesContentMap = $this->modifyByOxwArticleDetailsController($pagesContentMap, $product);
                break;
            case 'alist':
                $pagesContentMap = $this->modifyByAListController($pagesContentMap);
                break;
            case 'account':
                $pagesContentMap = $this->modifyByAccountController($pagesContentMap, $currentController->getFncName());
                break;
            case 'contact':
                $pagesContentMap = $this->modifyByContactController($pagesContentMap);
                break;
            case 'newsletter':
                $pagesContentMap = $this->modifyByNewsletterController($pagesContentMap);
                break;
            case 'info':
                $pagesContentMap = $this->modifyByInfoController($pagesContentMap);
                break;
            case 'content':
                $pagesContentMap = $this->modifyByContentController($pagesContentMap, $parameters);
                break;
        }

        return $pagesContentMap;
    }
@param array $parameters

@return array