Issue #2904720: Traits should be installed at the API level, not the form level
Remove submitTraitForm
from CommerceBundleEntityFormBase.php and integrate trait handling in CommerceBundleEntityBase.php save
This commit eliminates the submitTraitForm
function across several form classes and integrates trait management directly within the save
method of CommerceBundleEntityBase
. This refactor consolidates functionality, simplifying the form handling and ensuring trait logic is consistently executed upon entity save.
Closes #2904720