Move $node before, into or after $targetNode
public move ( Neos\ContentRepository\Domain\Model\NodeInterface $node, Neos\ContentRepository\Domain\Model\NodeInterface $targetNode, string $position ) : Neos\ContentRepository\Domain\Model\NodeInterface | ||
$node | Neos\ContentRepository\Domain\Model\NodeInterface | |
$targetNode | Neos\ContentRepository\Domain\Model\NodeInterface | |
$position | string | where the node should be added (allowed: before, into, after) |
Résultat | Neos\ContentRepository\Domain\Model\NodeInterface | The same node given as first argument |