You are here

function redhen_activity_field_access in RedHen CRM 7

Implements hook_field_access().

File

modules/redhen_activity/redhen_activity.module, line 347

Code

function redhen_activity_field_access($op, $field, $entity_type, $entity, $account) {
  if ($op == 'edit' && in_array($field['field_name'], array(
    'message_redhen_contact',
    'message_redhen_org',
  ))) {
    return FALSE;
  }
}