You are here

function commerce_price_field_storage_pre_update in Commerce Core 7

Implements hook_field_storage_pre_update().

File

modules/price/commerce_price.module, line 202
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_update($entity_type, $entity) {
  _commerce_price_field_serialize_data($entity_type, $entity);
}