Log in
Model

FileUploaderDataResolver

Magento\Customer\Model\FileUploaderDataResolver

What it does

This class prepares file and image upload data for customer and customer address attributes in Magento 2's admin UI.

Developers use it when working with custom file or image attributes on customer entities, as it configures the file uploader component with proper URLs, validation rules, file size limits, and allowed extensions.

It transforms attribute data into the format required by Magento's UI components.

Public Methods

  • overrideFileUploaderData()
  • overrideFileUploaderMetadata()