code: private function getContentTranslationFields(Content $content, $languageCode)
      {
          $fields = [];
  
          if ($this->contentTranslationFieldMapper->accept($content, $languageCode)) {
              $fields = $this->contentTranslationFieldMapper->mapFields($content, $languageCode);
          }
  
          return $fields;
      }
docs: Returns an array of fields for the given $content and $languageCode, to be added to the
  corresponding Content document.
  
  @param \eZ\Publish\SPI\Persistence\Content $content
  @param string $languageCode
  
  @return \eZ\Publish\SPI\Search\Field[]