Log in
Model

Option

Magento\ConfigurableProductGraphQl\Model\Formatter\Option

What it does

This formatter class transforms configurable product attribute data into a GraphQL-compliant response format.

Developers use this when exposing configurable product options (like size, color) through GraphQL APIs, ensuring the data structure matches the schema requirements with proper UIDs and formatted option values.

Public Methods

  • format()