Log in
Model

CountryInformationAcquirer

Magento\Directory\Model\CountryInformationAcquirer

What it does

This class retrieves country and region information from Magento's directory data, formatting it into structured data objects.

Developers use it to get localized country names, ISO codes, and associated regions/states for features like address forms, shipping configurations, or country dropdowns.

It implements the CountryInformationAcquirerInterface and is typically injected into classes that need geographic data.

Public Methods

  • getCountriesInfo()
  • getCountryInfo()