eZ\Publish\Core\MVC\Symfony\Controller\Content\ViewController::renderLocation PHP Method

renderLocation() protected method

Creates the content to be returned when viewing a Location.
protected renderLocation ( eZ\Publish\API\Repository\Values\Content\Location $location, string $viewType, boolean $layout = false, array $params = [] ) : string
$location eZ\Publish\API\Repository\Values\Content\Location
$viewType string
$layout boolean
$params array
return string
    protected function renderLocation(Location $location, $viewType, $layout = false, array $params = array())
    {
        return $this->viewManager->renderLocation($location, $viewType, $params + array('noLayout' => !$layout));
    }