public function EntityTranslationHandlerInterface::setSourceLanguage in Entity Translation 7
Sets the source language for the translation being created.
1 method overrides EntityTranslationHandlerInterface::setSourceLanguage()
File
- includes/
translation.handler.inc, line 334 - Default translation handler for the translation module.
Class
- EntityTranslationHandlerInterface
- Interface for enabling entity translation.
Code
public function setSourceLanguage($langcode);