PHP 클래스 Neos\Neos\ViewHelpers\Rendering\InPreviewModeViewHelper

= Examples = Given we are currently in a preview mode: Shown in preview. Shown elsewhere (edit mode or not in backend). Shown in preview. Given we are in the preview mode named "desktop" Shown just for print preview mode. Shown in all other cases. Shown in all other cases.
상속: extends AbstractRenderingStateViewHelper
파일 보기 프로젝트 열기: neos/neos-development-collection

공개 메소드들

메소드 설명
render ( Neos\ContentRepository\Domain\Model\NodeInterface $node = null, string $mode = null ) : boolean

메소드 상세

render() 공개 메소드

public render ( Neos\ContentRepository\Domain\Model\NodeInterface $node = null, string $mode = null ) : boolean
$node Neos\ContentRepository\Domain\Model\NodeInterface Optional Node to use context from
$mode string Optional rendering mode name to check if this specific mode is active
리턴 boolean