Log in
Model

Config

Magento\Customer\Model\Address\Config

What it does

This class manages customer address formatting configurations in Magento 2.

Developers use it to retrieve and apply different address display formats (like oneline, text, HTML, PDF) for rendering customer addresses throughout the store, with support for store-specific templates and custom renderers.

Public Methods

  • setStore()
  • getStore()
  • getFormats()
  • getFormatByCode()