NodeController
class NodeController extends ActionController (View source)
Controller for displaying nodes in the frontend
Properties
protected ContextFactoryInterface | $contextFactory | ||
protected SessionInterface | $session | ||
protected NodeShortcutResolver | $nodeShortcutResolver | ||
protected string | $defaultViewObjectName | ||
protected FusionView | $view | ||
protected PrivilegeManagerInterface | $privilegeManager | ||
protected PropertyMapper | $propertyMapper |
Methods
Allow invisible nodes to be redirected to
Shows the specified node and takes visibility and access restrictions into account.
Allow invisible nodes to be previewed
Previews a node that is not live (i.e. for the Backend Preview & Edit Mode)
Checks if the optionally given node context path, affected node context path and Fusion path are set and overrides the rendering to use those. Will also add a "X-Neos-AffectedNodePath" header in case the actually affected node is different from the one routing resolved.
Details
protected void
initializeShowAction()
Allow invisible nodes to be redirected to
string
showAction(NodeInterface $node = null)
Shows the specified node and takes visibility and access restrictions into account.
protected void
initializePreviewAction()
Allow invisible nodes to be previewed
string
previewAction(NodeInterface $node = null)
Previews a node that is not live (i.e. for the Backend Preview & Edit Mode)
protected void
overrideViewVariablesFromInternalArguments()
Checks if the optionally given node context path, affected node context path and Fusion path are set and overrides the rendering to use those. Will also add a "X-Neos-AffectedNodePath" header in case the actually affected node is different from the one routing resolved.
This is used in out of band rendering for the backend.
protected void
handleShortcutNode(NodeInterface $node)
Handles redirects to shortcut targets in live rendering.