You are here

public function EntityTranslationHandlerInterface::setFormLanguage in Entity Translation 7

Sets the active form language.

Parameters

string $langcode: The active form language code.

Deprecated

in 7.x-1.0-beta6, will be removed before 7.x-1.0. Use ::setActiveLanguage() instead.

See also

::setActiveLanguage()

1 method overrides EntityTranslationHandlerInterface::setFormLanguage()
EntityTranslationDefaultHandler::setFormLanguage in includes/translation.handler.inc
Sets the active form language.

File

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

Class

EntityTranslationHandlerInterface
Interface for enabling entity translation.

Code

public function setFormLanguage($langcode);