protected function i18n_path_breadcrumbs_object::translate_access in Path Breadcrumbs 7.3
Access to object translation. This should check object properties and permissions.
Return value
bool Param showing whether path breadcrumb is translatable or not.
Overrides i18n_object_wrapper::translate_access
File
- path_breadcrumbs_i18n/
path_breadcrumbs_i18n.inc, line 37 - Internationalization (i18n) class.
Class
- i18n_path_breadcrumbs_object
- Path Breadcrumbs i18n object.
Code
protected function translate_access() {
return user_access('translate interface') && user_access('administer path breadcrumbs') && $this->object->translatable;
}