Ojs\JournalBundle\Entity\Journal::getTitleTranslations PHP Method

getTitleTranslations() public method

Get title
public getTitleTranslations ( ) : string
return string
    public function getTitleTranslations()
    {
        $titles = [];
        /** @var JournalTranslation $translation */
        foreach ($this->translations as $translation) {
            $titles[] = $translation->getTitle() . ' [' . $translation->getLocale() . ']';
        }
        return implode('<br>', $titles);
    }
Journal