Model/TransUnit.php
public function filterNotBlankTranslations()
    {
        return $this->getTranslations()->filter(function (TranslationInterface $translation) {
            $content = $translation->getContent();
            return !empty($content);
        });
    }
public function filterNotBlankTranslations()
    {
        return $this->getTranslations()->filter(function (TranslationInterface $translation) {
            $content = $translation->getContent();
            return !empty($content);
        });
    }
public function filterNotBlankTranslations ( ) { return $ this -> getTranslations ( ) -> filter ( function ( TranslationInterface $ translation ) { $ content = $ translation -> getContent ( ) ; return ! empty ( $ content ) ; } ) ; }
Return transaltions with  not blank content.

@return \Doctrine\Common\Collections\Collection
Return transaltions with not blank content .