You are here

public function views_handler_field_user_link::access in Views (for Drupal 7) 7.3

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. 6.2 modules/user/views_handler_field_user_link.inc \views_handler_field_user_link::access()

An example of field level access control.

Overrides views_handler::access

1 method overrides views_handler_field_user_link::access()
views_handler_field_contact_link::access in modules/contact/views_handler_field_contact_link.inc
An example of field level access control.

File

modules/user/views_handler_field_user_link.inc, line 47
Definition of views_handler_field_user_link.

Class

views_handler_field_user_link
Field handler to present a link to the user.

Code

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