original_string: public function preRemove(LifecycleEventArgs $args)
      {
          $entity = $args->getEntity();
          $this->translator->deleteTranslationData($entity);
      }
code: public function preRemove(LifecycleEventArgs $args)
      {
          $entity = $args->getEntity();
          $this->translator->deleteTranslationData($entity);
      }
code_tokens: public function preRemove ( LifecycleEventArgs $ args ) { $ entity = $ args -> getEntity ( ) ; $ this -> translator -> deleteTranslationData ( $ entity ) ; }
docstring: If entity will be deleted, we need to delete all its translation data as well
  
  @param LifecycleEventArgs $args
docstring_tokens: If entity will be deleted we need to delete all its translation data as well