Log in
Model

EntityAttributeList

Magento\GraphQl\Model\EntityAttributeList

What it does

This class retrieves all EAV and custom attributes for a given entity type (like products or customers) by iterating through all attribute sets.

Developers use this when building GraphQL queries that need to know which attributes are available for an entity and whether they can be used for sorting in search criteria.

Public Methods

  • getDefaultEntityAttributes()