PHP Class Neos\Neos\ViewHelpers\Rendering\InEditModeViewHelper

= Examples = Given we are currently in an editing mode: Shown for editing. Shown elsewhere (preview mode or not in backend). Shown for editing. Given we are in the editing mode named "inPlace" Shown just for rawContent editing mode. Shown in all other cases. Shown in all other cases.
Inheritance: extends AbstractRenderingStateViewHelper
Afficher le fichier Open project: neos/neos-development-collection

Méthodes publiques

Méthode Description
render ( Neos\ContentRepository\Domain\Model\NodeInterface $node = null, string $mode = null ) : boolean

Method Details

render() public méthode

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
Résultat boolean