You are here

function commerce_file_field_storage_pre_insert in Commerce File 7

Implements hook_field_storage_pre_insert().

File

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

Code

function commerce_file_field_storage_pre_insert($entity_type, $entity) {
  _commerce_file_field_serialize_data($entity_type, $entity);
}