function commerce_option_save in Commerce Product Option 7
Same name and namespace in other branches
- 7.2 commerce_option.module \commerce_option_save()
Save a given option.
1 call to commerce_option_save()
- commerce_option_add_to_cart_submit in option_set_reference/
commerce_option_set_reference.module - Cart submit callback function. This is required to create / update the option related to the line item.
File
- ./
commerce_option.module, line 197
Code
function commerce_option_save($option) {
return entity_get_controller('commerce_option')
->save($option);
}