You are here

final public function GoogleTranslator::setQParamName in TMGMT Translator Google 8

The q parameter name needs to be overridden for Drupal testing as it collides with Drupal q parameter.

Parameters

$name:

File

src/Plugin/tmgmt/Translator/GoogleTranslator.php, line 315
Contains \Drupal\tmgmt_microsoft\Plugin\tmgmt\Translator\MicrosoftTranslator.

Class

GoogleTranslator
Google translator plugin.

Namespace

Drupal\tmgmt_google\Plugin\tmgmt\Translator

Code

public final function setQParamName($name) {
  $this->qParamName = $name;
}