Log in
Model

GetAttributeSelectedOptionComposite

Magento\EavGraphQl\Model\GetAttributeSelectedOptionComposite

What it does

This composite class serves as a factory/registry that delegates the formatting of EAV attribute selected option values for GraphQL responses to the appropriate provider based on entity type (like product, customer, category).

Developers use this when extending Magento's GraphQL API to ensure custom attributes with select/multiselect types return properly formatted option data in their GraphQL queries.

Public Methods

  • execute()