Neos.Neos/Classes/EventLog/Integrations/ContentRepositoryIntegrationService.php
public function beforeNodeMove(NodeInterface $movedNode, NodeInterface $referenceNode, $moveOperation)
    {
        if (!$this->eventEmittingService->isEnabled()) {
            return;
        }

        $this->currentlyMoving += 1;

        /* @var $nodeEvent NodeEvent */
        $nodeEvent = $this->eventEmittingService->emit(self::NODE_MOVE, [
            'referenceNode' => $referenceNode->getContextPath(),
            'moveOperation' => $moveOperation
        ], NodeEvent::class);
        $nodeEvent->setNode($movedNode);
        $this->eventEmittingService->pushContext();
    }
public function beforeNodeMove(NodeInterface $movedNode, NodeInterface $referenceNode, $moveOperation)
    {
        if (!$this->eventEmittingService->isEnabled()) {
            return;
        }

        $this->currentlyMoving += 1;

        /* @var $nodeEvent NodeEvent */
        $nodeEvent = $this->eventEmittingService->emit(self::NODE_MOVE, [
            'referenceNode' => $referenceNode->getContextPath(),
            'moveOperation' => $moveOperation
        ], NodeEvent::class);
        $nodeEvent->setNode($movedNode);
        $this->eventEmittingService->pushContext();
    }
public function beforeNodeMove ( NodeInterface $ movedNode , NodeInterface $ referenceNode , $ moveOperation ) { if ( ! $ this -> eventEmittingService -> isEnabled ( ) ) { return ; } $ this -> currentlyMoving += 1 ; /* @var $nodeEvent NodeEvent */ $ nodeEvent = $ this -> eventEmittingService -> emit ( self :: NODE_MOVE , [ 'referenceNode' => $ referenceNode -> getContextPath ( ) , 'moveOperation' => $ moveOperation ] , NodeEvent :: class ) ; $ nodeEvent -> setNode ( $ movedNode ) ; $ this -> eventEmittingService -> pushContext ( ) ; }
Emits a "Node Move" event

@param NodeInterface $movedNode
@param NodeInterface $referenceNode
@param integer $moveOperation
Emits a Node Move event