You are here

public function EntityTranslationDefaultHandler::setSourceLanguage in Entity Translation 7

Overrides EntityTranslationHandlerInterface::setSourceLanguage

See also

EntityTranslationHandlerInterface::setSourceLanguage()

File

includes/translation.handler.inc, line 1209
Default translation handler for the translation module.

Class

EntityTranslationDefaultHandler
Class implementing the default entity translation behaviours.

Code

public function setSourceLanguage($langcode) {
  $args = func_get_args();
  $this->sourceLanguage = $langcode;
  $this
    ->notifyChildren(__FUNCTION__, $args);
}