1 views_handler_field_locale_link_edit.inc views_handler_field_locale_link_edit::access()

Check whether current user has access to this handler.

Return value

boolean:

Overrides views_handler::access

File

core/modules/locale/views/views_handler_field_locale_link_edit.inc, line 41
Definition of views_handler_field_locale_link_edit.

Class

views_handler_field_locale_link_edit
Field handler to present a link to edit a translation.

Code

function access() {
  // Ensure user has access to edit translations.
  return user_access('translate interface');
}