You are here

public function LingotekProfileInterface::setVaultForTarget in Lingotek Translation 3.1.x

Same name and namespace in other branches
  1. 4.0.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setVaultForTarget()
  2. 3.2.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setVaultForTarget()
  3. 3.3.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setVaultForTarget()
  4. 3.4.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setVaultForTarget()
  5. 3.5.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setVaultForTarget()
  6. 3.6.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setVaultForTarget()
  7. 3.7.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setVaultForTarget()
  8. 3.8.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setVaultForTarget()

Set the vault to be used for a given language.

Parameters

string $langcode: The language code.

string $value: The vault identifier, used to request translations. If'default', the default site vault should be used.

Return value

$this

1 method overrides LingotekProfileInterface::setVaultForTarget()
LingotekProfile::setVaultForTarget in src/Entity/LingotekProfile.php
(@inheritdoc)

File

src/LingotekProfileInterface.php, line 338

Class

LingotekProfileInterface
Provides an interface defining a Lingotek profile entity.

Namespace

Drupal\lingotek

Code

public function setVaultForTarget($langcode, $value);