Log in
Model

Countries

Magento\DirectoryGraphQl\Model\Resolver\Countries

What it does

This GraphQL resolver provides country information data for GraphQL queries in Magento 2.

Developers use this class when they need to fetch a list of countries with their details (name, regions, etc.) through GraphQL API endpoints, typically for store localization features or checkout address forms.

Public Methods

  • resolve()