We already have this implemented in commerce_payment and used for payment methods.
We'll also need it for promotion types, so let's generalize it and move it to commerce.module.

Comments

bojanz created an issue. See original summary.

mglaman’s picture

Taking this so we can use it for Payment and Promotions

  • bojanz committed e09ca17 on 8.x-2.x
    Issue #2763701: Create an API for plugin-based entity bundles
    
bojanz’s picture

Status: Active » Fixed

Done, with a round of debugging, and test coverage.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.