NodeOperations
class NodeOperations (View source)
Centralizes common operations like moving and copying of Nodes with Neos specific additional handling.
Properties
| protected NodeTypeManager | $nodeTypeManager | ||
| protected NodeServiceInterface | $nodeService | ||
| protected NodeUriPathSegmentGenerator | $nodeUriPathSegmentGenerator |
Methods
create(NodeInterface $referenceNode, array $nodeData, string $position)
Helper method for creating a new node.
move(NodeInterface $node, NodeInterface $targetNode, string $position)
Move $node before, into or after $targetNode
copy(NodeInterface $node, NodeInterface $targetNode, string $position, string $nodeName = null)
Copy $node before, into or after $targetNode
Details
NodeInterface
create(NodeInterface $referenceNode, array $nodeData, string $position)
Helper method for creating a new node.
NodeInterface
move(NodeInterface $node, NodeInterface $targetNode, string $position)
Move $node before, into or after $targetNode
NodeInterface
copy(NodeInterface $node, NodeInterface $targetNode, string $position, string $nodeName = null)
Copy $node before, into or after $targetNode
protected NodeInterface
getDesignatedParentNode(NodeInterface $targetNode, string $position)
No description