TwbBundle\Form\View\Helper\TwbBundleFormElement::setTranslatorEnabled PHP Méthode

setTranslatorEnabled() public méthode

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