You are here

function views_handler_field_locale_link_edit::access in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 7.3 modules/locale/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

modules/locale/views_handler_field_locale_link_edit.inc, line 36

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');
}