Log in
Model

AttributeMetadataResolver

Magento\Customer\Model\AttributeMetadataResolver

What it does

This class builds metadata configuration for customer and customer address attributes in Magento 2's UI components.

Developers use it when rendering customer or address forms in the admin panel to define how attributes should be displayed, validated, and behave (like showing country dropdowns, setting default groups, or handling file uploads).

It translates EAV attribute properties into UI component configuration arrays that power forms.

Public Methods

  • getAttributesMeta()
  • processWebsiteMeta()