TwbBundle\Form\View\Helper\TwbBundleFormElement::setTranslatorEnabled PHP Method

setTranslatorEnabled() public method

Sets whether translator is enabled and should be used
See also: TranslatorAwareInterface::setTranslatorEnabled()
public setTranslatorEnabled ( boolean $bEnabled = true ) : TwbBundleFormElement
$bEnabled boolean
return TwbBundleFormElement
    public function setTranslatorEnabled($bEnabled = true)
    {
        $this->translatorEnabled = !!$bEnabled;
        return $this;
    }