Log in
Model

GetCustomAttributes

Magento\CustomerGraphQl\Model\Customer\GetCustomAttributes

What it does

This class retrieves and formats custom attribute values for customer entities in GraphQL responses.

It handles different attribute frontend input types, converting select/multiselect attributes to selected options arrays while returning simple values for text fields.

Developers use this when exposing customer custom attributes through GraphQL queries.

Public Methods

  • execute()