Log in
Model

DataProvider

Magento\Customer\Model\Customer\DataProvider

What it does

This data provider class supplies customer and address data to the Magento 2 admin customer edit form UI component.

Developers interact with this class when customizing the customer form in the admin panel, as it handles loading customer data, preparing form metadata from EAV attributes, and managing file uploads.

It's deprecated in favor of DataProviderWithDefaultAddresses but illustrates how to build UI component data providers.

Public Methods

  • getData()