Model
GetAttributeData
Magento\EavGraphQl\Model\Output\GetAttributeData
What it does
This class formats EAV attribute data for GraphQL API responses.
Developers use this when they need to transform Magento's EAV attribute objects into a standardized array structure suitable for GraphQL queries, including handling attribute options, labels, and metadata.
It's primarily used internally by GraphQL resolvers that expose attribute information to the frontend.
Public Methods
- execute()