Neos.Neos/Classes/EventLog/Integrations/ContentRepositoryIntegrationService.php
public function beforeNodeCreate()
    {
        if (!$this->eventEmittingService->isEnabled()) {
            return;
        }

        /* @var $nodeEvent NodeEvent */
        $nodeEvent = $this->eventEmittingService->generate(self::NODE_ADDED, [], NodeEvent::class);
        $this->currentNodeAddEvents[] = $nodeEvent;
        $this->eventEmittingService->pushContext($nodeEvent);
    }
public function beforeNodeCreate()
    {
        if (!$this->eventEmittingService->isEnabled()) {
            return;
        }

        /* @var $nodeEvent NodeEvent */
        $nodeEvent = $this->eventEmittingService->generate(self::NODE_ADDED, [], NodeEvent::class);
        $this->currentNodeAddEvents[] = $nodeEvent;
        $this->eventEmittingService->pushContext($nodeEvent);
    }
public function beforeNodeCreate ( ) { if ( ! $ this -> eventEmittingService -> isEnabled ( ) ) { return ; } /* @var $nodeEvent NodeEvent */ $ nodeEvent = $ this -> eventEmittingService -> generate ( self :: NODE_ADDED , [ ] , NodeEvent :: class ) ; $ this -> currentNodeAddEvents [ ] = $ nodeEvent ; $ this -> eventEmittingService -> pushContext ( $ nodeEvent ) ; }
Emit a "Node Added" event

@return void
Emit a Node Added event