Neos\Neos\EventLog\Integrations\ContentRepositoryIntegrationService::nodeRemoved PHP Method

nodeRemoved() public method

Emits a "Node Removed" event
public nodeRemoved ( Neos\ContentRepository\Domain\Model\NodeInterface $node ) : void
$node Neos\ContentRepository\Domain\Model\NodeInterface
return void
    public function nodeRemoved(NodeInterface $node)
    {
        if (!$this->eventEmittingService->isEnabled()) {
            return;
        }
        /* @var $nodeEvent NodeEvent */
        $nodeEvent = $this->eventEmittingService->emit(self::NODE_REMOVED, array(), NodeEvent::class);
        $nodeEvent->setNode($node);
    }