Class

eZ\Publish\Core\MVC\Symfony\Controller\Content\PreviewController

class PreviewController

Constants

INTERNAL_LOCATION_VIEW_ROUTE

Methods

__construct(ContentService $contentService, HttpKernelInterface $kernel, ContentPreviewHelper $previewHelper, AuthorizationCheckerInterface $authorizationChecker, PreviewLocationProvider $locationProvider, CustomLocationControllerChecker $controllerChecker)

previewContentAction(Request $request, $contentId, $versionNo, $language, $siteAccessName = null)

Details

at line 59
public __construct(ContentService $contentService, HttpKernelInterface $kernel, ContentPreviewHelper $previewHelper, AuthorizationCheckerInterface $authorizationChecker, PreviewLocationProvider $locationProvider, CustomLocationControllerChecker $controllerChecker)

Parameters

ContentService $contentService
HttpKernelInterface $kernel
ContentPreviewHelper $previewHelper
AuthorizationCheckerInterface $authorizationChecker
PreviewLocationProvider $locationProvider
CustomLocationControllerChecker $controllerChecker

at line 78
public previewContentAction(Request $request, $contentId, $versionNo, $language, $siteAccessName = null)

Parameters

Request $request
$contentId
$versionNo
$language
$siteAccessName

Exceptions

NotImplementedException If Content is missing location as this is not supported in current version