You are here

class contact_handler_field_contact_link in Contact 6.2

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

Hierarchy

Expanded class hierarchy of contact_handler_field_contact_link

1 string reference to 'contact_handler_field_contact_link'
contact_views_data in ./contact.views.inc
@file Declare Views handlers.

File

./contact_handler_field_contact_link.inc, line 10
Override access of core contact link field.

View source
class contact_handler_field_contact_link extends views_handler_field_contact_link {

  // Views isn't aware of the new user contact permission.
  function access() {
    return user_access('access user contact forms');
  }

}

Members