You are here

public function i18n_block_object::get_translate_mode in Internationalization 7

Translation mode for object

Overrides i18n_string_object_wrapper::get_translate_mode

File

i18n_block/i18n_block.inc, line 49

Class

i18n_block_object
Block object

Code

public function get_translate_mode() {
  return !empty($this->object->i18n_mode) ? I18N_MODE_LOCALIZE : I18N_MODE_NONE;
}