Needed by Commerce.

On the Commerce side every entity that has a getData and setData now also has an unsetData, that allows removing a flag, for example. No reason not to add it here as well.

The other method, populateFromProfile() would reduce boilerplate when setting profile fields based on another profile, which is common when implementing addressbooks and various kinds of profile reuse.

Comments

bojanz created an issue. See original summary.

  • bojanz committed 030c4d4 on 8.x-1.x
    Issue #3052889 by bojanz: Add unsetData() and populateFromProfile()...
bojanz’s picture

Status: Active » Fixed

Done.

Status: Fixed » Closed (fixed)

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