Log in
Model

AttributeMetadata

Magento\CatalogGraphQl\Model\Output\AttributeMetadata

What it does

This class formats catalog attribute metadata for GraphQL API responses.

It converts EAV attribute properties into a structured array containing flags like is_comparable, is_searchable, is_filterable, etc., making attribute configuration data accessible through GraphQL queries.

Developers use this when exposing product or category attribute settings to frontend applications via GraphQL.

Public Methods

  • execute()