public function addTranslationInfo(TranslationInfo $translationInfo)
    {
        $returnValue = $this->service->addTranslationInfo($translationInfo);
        $this->signalDispatcher->emit(
            new AddTranslationInfoSignal(array())
        );

        return $returnValue;
    }
public function addTranslationInfo(TranslationInfo $translationInfo)
    {
        $returnValue = $this->service->addTranslationInfo($translationInfo);
        $this->signalDispatcher->emit(
            new AddTranslationInfoSignal(array())
        );

        return $returnValue;
    }
public function addTranslationInfo ( TranslationInfo $ translationInfo ) { $ returnValue = $ this -> service -> addTranslationInfo ( $ translationInfo ) ; $ this -> signalDispatcher -> emit ( new AddTranslationInfoSignal ( array ( ) ) ) ; return $ returnValue ; }
Adds translation information to the content object.

@example Examples/translation_5x.php

@throws \eZ\Publish\API\Repository\Exceptions\UnauthorizedException if the user is not allowed add a translation info

@param \eZ\Publish\API\Repository\Values\Content\TranslationInfo $translationInfo

@since 5.0
Adds translation information to the content object .