eZ\Publish\Core\MVC\Symfony\View\Provider\Location::getView PHP Method

getView() public method

Returns a ContentView object corresponding to $location, or null if not applicable.
public getView ( eZ\Publish\API\Repository\Values\Content\Location $location, string $viewType ) : ContentView | null
$location eZ\Publish\API\Repository\Values\Content\Location
$viewType string Variation of display for your content.
return eZ\Publish\Core\MVC\Symfony\View\ContentView | null
    public function getView(APIContentLocation $location, $viewType);
Location