Log in
Model

DataProviderWithDefaultAddresses

Magento\Customer\Model\Customer\DataProviderWithDefaultAddresses

What it does

This class provides customer data for admin forms, specifically handling customer information along with their default billing and shipping addresses.

Developers use this as a UI component data provider when rendering customer edit forms in the Magento admin panel, where it loads customer details, processes file uploads, and prepares address data for display while filtering out sensitive fields like password hashes.

Public Methods

  • getData()