Log in
Model

Websites

Magento\CatalogGraphQl\Model\Resolver\Product\Websites

What it does

This resolver retrieves website information for products in Magento's GraphQL API.

Developers use this class when they need to fetch which websites a product is assigned to through GraphQL queries, which is essential for multi-website Magento installations where products can be enabled on specific websites.

Public Methods

  • resolve()