InEditModeViewHelper
class InEditModeViewHelper extends AbstractRenderingStateViewHelper (View source)
ViewHelper to find out if Neos is rendering an edit mode.
= Examples =
Given we are currently in an editing mode:
Shown just for rawContent editing mode.
Shown in all other cases.
```
Properties
protected PrivilegeManager | $privilegeManager | from AbstractRenderingStateViewHelper | |
protected ContentRepositoryRegistry | $contentRepositoryRegistry | from AbstractRenderingStateViewHelper |
Methods
NodeAddress
getNodeAddressOfContextNode(Node|null $node)
Get a node from the current Fusion context if available.
void
initializeArguments()
Initialize the arguments.
bool
render()
No description
Details
protected NodeAddress
getNodeAddressOfContextNode(Node|null $node)
Get a node from the current Fusion context if available.
protected bool
hasAccessToBackend()
No description
void
initializeArguments()
Initialize the arguments.
bool
render()
No description