protected function i18n_path_metatags_object::translate_access in Path metatags 7
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_metatags_i18n/
path_metatags_i18n.inc, line 37 - Internationalization (i18n) class.
Class
- i18n_path_metatags_object
- Path metatags i18n object.
Code
protected function translate_access() {
return user_access('translate interface') && user_access('administer path metatags') && $this->object->translatable;
}