/**
  * @param NodeInterface $node
  */
 public function restore($node)
 {
     $nodes = $this->nodeRepository->findByNodeAndSite($node->getNodeId(), $node->getSiteId());
     /** @var NodeInterface $node */
     foreach ($nodes as $node) {
         $node->setDeleted(false);
     }
     $this->eventDispatcher->dispatch(NodeEvents::NODE_RESTORE, new NodeEvent($node));
 }