You are here

constant ENTITY_TRANSLATION_LANGUAGE_CURRENT in Entity Translation 7

Language code identifying the current content language.

4 uses of ENTITY_TRANSLATION_LANGUAGE_CURRENT
EntityTranslationDefaultHandler::getDefaultLanguage in includes/translation.handler.inc
EntityTranslationTestCase::configureContentType in tests/entity_translation.test
Configure the "Basic page" content type for entity translation tests.
entity_translation_entity_info in ./entity_translation.module
Implements hook_entity_info().
entity_translation_translation_exists_ctools_access_check in plugins/access/translation_exists.inc
Grant access based on the which translations are available.

File

./entity_translation.module, line 20

Code

define('ENTITY_TRANSLATION_LANGUAGE_CURRENT', 'xx-et-current');