DataProviderWithDefaultAddresses
Magento\Customer\Model\Customer\DataProviderWithDefaultAddresses
What it does
This class provides customer data for UI components in the Magento 2 admin panel, specifically for customer edit forms.
It fetches customer information along with their default billing and shipping addresses, formats the data appropriately, and handles custom attributes.
Developers use this when creating or customizing customer forms in the admin area, as it ensures all necessary customer data is available and properly structured for display and editing.
Public Methods
- getData()