public function i18n_object_wrapper::get_langcode in Internationalization 7
Get language code
4 calls to i18n_object_wrapper::get_langcode()
- i18n_menu_link::get_translate_mode in i18n_menu/
i18n_menu.inc - Translation mode for object
- i18n_string_object_wrapper::get_translate_mode in i18n_string/
i18n_string.inc - Translation mode for object
- i18n_taxonomy_term::get_translate_mode in i18n_taxonomy/
i18n_taxonomy.inc - Translation mode for object
- i18n_taxonomy_term::translate_access in i18n_taxonomy/
i18n_taxonomy.inc - Access to object translation. This should check object properties and permissions
File
- ./
i18n_object.inc, line 76 - i18n Object Class
Class
- i18n_object_wrapper
- Object wrapper
Code
public function get_langcode() {
return i18n_object_langcode($this->object);
}