/**
  * {@inheritdoc}
  */
 public function getNodeTranslationOr404(Request $request)
 {
     if (null !== ($route = $this->getRoute($request))) {
         if (null !== ($translation = $this->nodeTranslationManager->findTranslationByRoute($route))) {
             return $translation;
         }
     }
     throw new NotFoundHttpException('Not found node translation!');
 }