NodeController
class NodeController extends ActionController (View source)
Event Sourced Node Controller; as Replacement of NodeController
Properties
protected ContentRepositoryRegistry | $contentRepositoryRegistry | ||
protected PrivilegeManagerInterface | $privilegeManager | ||
protected Now | $now | ||
protected Context | $securityContext | ||
protected SessionInterface | $session | ||
protected NodeShortcutResolver | $nodeShortcutResolver | ||
protected PropertyMapper | $propertyMapper | ||
protected string | $defaultViewObjectName | ||
protected FusionView | $view | ||
protected NodeSiteResolvingService | $nodeSiteResolvingService |
Methods
No description
Initializes the view with the necessary parameters encoded in the given NodeAddress
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.
Handles redirects to shortcut targets in live rendering.
Details
void
previewAction(string $node)
No description
void
showAction(string $node, bool $showInvisible = false)
Initializes the view with the necessary parameters encoded in the given NodeAddress
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(NodeAddress $nodeAddress, ContentRepository $contentRepository)
Handles redirects to shortcut targets in live rendering.