TwbBundle\Form\View\Helper\TwbBundleFormElement::setTranslatorEnabled PHP 메소드

setTranslatorEnabled() 공개 메소드

Sets whether translator is enabled and should be used
또한 보기: TranslatorAwareInterface::setTranslatorEnabled()
public setTranslatorEnabled ( boolean $bEnabled = true ) : TwbBundleFormElement
$bEnabled boolean
리턴 TwbBundleFormElement
    public function setTranslatorEnabled($bEnabled = true)
    {
        $this->translatorEnabled = !!$bEnabled;
        return $this;
    }