public function showArticleAction(View $view)
    {
        $view->addParameters(
            [
                'showSummary' => $this->container->getParameter('ezdemo.article.full_view.show_summary'),
                'showImage' => $this->container->getParameter('ezdemo.article.full_view.show_image'),
            ]
        );

        return $view;
    }
public function showArticleAction(View $view)
    {
        $view->addParameters(
            [
                'showSummary' => $this->container->getParameter('ezdemo.article.full_view.show_summary'),
                'showImage' => $this->container->getParameter('ezdemo.article.full_view.show_image'),
            ]
        );

        return $view;
    }
public function showArticleAction ( View $ view ) { $ view -> addParameters ( [ 'showSummary' => $ this -> container -> getParameter ( 'ezdemo.article.full_view.show_summary' ) , 'showImage' => $ this -> container -> getParameter ( 'ezdemo.article.full_view.show_image' ) , ] ) ; return $ view ; }
Renders article with extra parameters that controls page elements visibility such as image and summary.

@param \eZ\Publish\Core\MVC\Symfony\View\View $view

@return \Symfony\Component\HttpFoundation\Response
Renders article with extra parameters that controls page elements visibility such as image and summary .