Log in
Model

GetCustomAttributes

Magento\EavGraphQl\Model\Output\Value\GetCustomAttributes

What it does

This class retrieves and formats custom EAV attribute data for GraphQL responses.

It handles both simple attribute values and option-based attributes (like dropdowns/multiselects) by fetching selected options when applicable.

Developers use this when exposing custom EAV attributes through GraphQL queries for entities like customers or products.

Public Methods

  • execute()