bundle/Controller/FullViewController.php
public function viewNgLandingPage(ContentView $view)
    {
        $location = $view->getSiteLocation();
        if (!$location instanceof Location) {
            $location = $view->getSiteContent()->mainLocation;
        }

        $response = $this->checkCategoryRedirect($location);
        if ($response instanceof Response) {
            return $response;
        }

        return $view;
    }
public function viewNgLandingPage(ContentView $view)
    {
        $location = $view->getSiteLocation();
        if (!$location instanceof Location) {
            $location = $view->getSiteContent()->mainLocation;
        }

        $response = $this->checkCategoryRedirect($location);
        if ($response instanceof Response) {
            return $response;
        }

        return $view;
    }
public function viewNgLandingPage ( ContentView $ view ) { $ location = $ view -> getSiteLocation ( ) ; if ( ! $ location instanceof Location ) { $ location = $ view -> getSiteContent ( ) -> mainLocation ; } $ response = $ this -> checkCategoryRedirect ( $ location ) ; if ( $ response instanceof Response ) { return $ response ; } return $ view ; }
Action for viewing content with ng_landing_page content type identifier.

@return \Symfony\Component\HttpFoundation\Response|\Netgen\Bundle\EzPlatformSiteApiBundle\View\ContentView
Action for viewing content with ng_landing_page content type identifier .