You are here

function commerce_message_field_access in Commerce Message 7

Implements hook_field_access().

File

includes/commerce_message.message.inc, line 477

Code

function commerce_message_field_access($op, $field, $entity_type, $entity, $account) {
  if ($op == 'edit' && $field['field_name'] == 'message_commerce_order') {
    return FALSE;
  }
}