final public function GoogleTranslator::setTranslatorURL in TMGMT Translator Google 8
We provide translatorUrl setter so that we can override its value in automated testing.
Parameters
$translator_url:
File
- src/
Plugin/ tmgmt/ Translator/ GoogleTranslator.php, line 305 - Contains \Drupal\tmgmt_microsoft\Plugin\tmgmt\Translator\MicrosoftTranslator.
Class
- GoogleTranslator
- Google translator plugin.
Namespace
Drupal\tmgmt_google\Plugin\tmgmt\TranslatorCode
public final function setTranslatorURL($translator_url) {
$this->translatorUrl = $translator_url;
}