Log in
Model

CustomAttributeList

Magento\Customer\Model\Address\CustomAttributeList

What it does

This class provides a list of custom attributes for customer addresses in Magento 2.

Developers can use this class to retrieve additional custom attributes beyond the default address fields.

By default, it returns an empty array, but it can be extended or customized through plugins or preferences to add custom address attributes for specific business requirements.

Public Methods

  • getAttributes()