You are here

protected function i18n_taxonomy_term::translate_access in Internationalization 7

Access to object translation. This should check object properties and permissions

Overrides i18n_object_wrapper::translate_access

File

i18n_taxonomy/i18n_taxonomy.inc, line 49
Internationalization (i18n) module - Translation set

Class

i18n_taxonomy_term
Taxonomy textgroup handler

Code

protected function translate_access() {
  return taxonomy_term_edit_access($this->object) && $this
    ->get_langcode() && user_access('translate interface');
}