function views_handler_field_locale_link_edit::access

Check whether current user has access to this handler.

Return value

bool

Overrides views_handler::access

File

modules/locale/views_handler_field_locale_link_edit.inc, line 57

Class

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

Code

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