You are here

function crm_core_contact_handler_field_contact_revert::access in CRM Core 7

Check whether current user has access to this handler.

Return value

bool

Overrides views_handler::access

File

modules/crm_core_contact/includes/views/handlers/crm_core_contact_handler_field_contact_revert.inc, line 13

Class

crm_core_contact_handler_field_contact_revert
Field handler to provide simple renderer that allows linking to a contact.

Code

function access() {
  return user_access('administer contact types') || user_access('revert contact record');
}