You are here

function commerce_file_field_data_auto_creation in Commerce File 7

Returns the default array structure for a field for use when creating new data arrays through an entity metadata wrapper.

1 string reference to 'commerce_file_field_data_auto_creation'
commerce_file_field_property_info_callback in includes/commerce_file.field.inc
Callback to alter the property info of price fields.

File

includes/commerce_file.field.inc, line 654
Implement an commerce_file field, based on the file module's file field.

Code

function commerce_file_field_data_auto_creation() {
  return array(
    'fid' => NULL,
    'data' => array(),
  );
}