You are here

function field_entity_field_instance_entity_access in Field entity 7

Entity access callback for field instance entity.

1 string reference to 'field_entity_field_instance_entity_access'
field_entity_entity_info in ./field_entity.module
Implements hook_entity_info().

File

./field_entity.module, line 94
Field and Field Instance entity definitions.

Code

function field_entity_field_instance_entity_access($op, $entity, $account = NULL, $entity_type = 'field_instance_entity') {
  return $op === 'view';
}