1 views_handler_field_contact_link.inc views_handler_field_contact_link::access()

Check whether current user has access to this handler.

Return value

boolean:

Overrides views_handler_field_user_link::access

File

core/modules/contact/views/views_handler_field_contact_link.inc, line 25
Definition of views_handler_field_contact_link.

Class

views_handler_field_contact_link
A field that links to the user contact page, if access is permitted.

Code

function access() {
  return user_access('access user contact forms');
}