You are here

function views_handler_field_user_link::access in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 6.3 modules/user/views_handler_field_user_link.inc \views_handler_field_user_link::access()
  2. 7.3 modules/user/views_handler_field_user_link.inc \views_handler_field_user_link::access()

Check whether current user has access to this handler.

Return value

boolean

Overrides views_handler::access

2 methods override views_handler_field_user_link::access()
views_handler_field_contact_link::access in modules/contact/views_handler_field_contact_link.inc
Check whether current user has access to this handler.
views_handler_field_user_link_delete::access in modules/user/views_handler_field_user_link_delete.inc
Check whether current user has access to this handler.

File

modules/user/views_handler_field_user_link.inc, line 27

Class

views_handler_field_user_link
Field handler to present a link to the user.

Code

function access() {
  return user_access('access user profiles');
}