public function EntityTranslationHandlerInterface::entityFormLanguageWidget in Entity Translation 7
Adds an language selection widget to the entity form.
1 method overrides EntityTranslationHandlerInterface::entityFormLanguageWidget()
File
- includes/
translation.handler.inc, line 359 - Default translation handler for the translation module.
Class
- EntityTranslationHandlerInterface
- Interface for enabling entity translation.
Code
public function entityFormLanguageWidget(&$form, &$form_state);