public function i18n_path_metatags_object::get_translate_mode in Path metatags 7
Translation mode for object.
Return value
int Constant showing translate mode.
Overrides i18n_string_object_wrapper::get_translate_mode
File
- path_metatags_i18n/
path_metatags_i18n.inc, line 24 - Internationalization (i18n) class.
Class
- i18n_path_metatags_object
- Path metatags i18n object.
Code
public function get_translate_mode() {
if ($this->object->translatable) {
return I18N_MODE_TRANSLATE;
}
return I18N_MODE_NONE;
}