RESTful-Drupal / restful

RESTful best practices for Drupal
https://drupal.org/project/restful
419 stars 173 forks source link

Add an entitySave() method to DataProviderEntity. #1023

Open jsacksick opened 6 years ago

jsacksick commented 6 years ago

I have a custom need for the commerce_order (Order) entity type where I'd like to refresh the order (by calling an API function) before the entity gets saved, but currently there's a direct call to the ->save() method on the wrapper from setPropertyValues() which makes that impossible atm.