This project is not covered by Drupal’s security advisory policy.

About

This module aims to wrapper around the Drupal Commerce entities and simplify working with the entities and entity wrappers. It provides new classes to represent the entities returned through the Drupal Commerce entity controllers. This means your orders, products, line items, customer profiles, and payment transactions will resemble structured objects.

Difference between just using EntityDrupalWrapper

This module brings Drupal Commerce up to date with modern Entity API implementation, or as much as it can. In fact, the Entity API's Entity class provides its own wrapper around EntityDrupalWrapper. These classes extend that class.

Patches required

Drupal does not index Traits in the register, requiring Drupal to be patched with #2508055: Add support for autoloading Traits. Otherwise this module will fail. Why traits? Because abstraction is awesome, and you'll be using them in Drupal 8.

Project information

Releases