You are here

function entity_metadata_field_file_get in Entity API 7

Callback for getting the file entity of file fields.

2 string references to 'entity_metadata_field_file_get'
entity_property_field_item_file_info in includes/entity.property.inc
Defines info for the properties of the file-field item data structure.
entity_property_field_item_image_info in includes/entity.property.inc
Defines info for the properties of the image-field item data structure.

File

modules/callbacks.inc, line 618
Provides various callbacks for the whole core module integration.

Code

function entity_metadata_field_file_get($item) {
  return $item['fid'];
}