You are here

function commerce_price_field_storage_pre_insert in Commerce Core 7

Implements hook_field_storage_pre_insert().

File

modules/price/commerce_price.module, line 195
Defines the Price field with widgets and formatters used to add prices with currency codes to various Commerce entities.

Code

function commerce_price_field_storage_pre_insert($entity_type, $entity) {
  _commerce_price_field_serialize_data($entity_type, $entity);
}