Log in
Model

GetAllowedAddressAttributes

Magento\CustomerGraphQl\Model\Customer\Address\GetAllowedAddressAttributes

What it does

This class retrieves customer address attributes that are allowed to be displayed on the storefront in GraphQL queries.

Developers use this to filter address attributes based on their 'is_visible_on_front' configuration, ensuring only frontend-visible attributes are exposed through the GraphQL API.

It's primarily used internally by CustomerGraphQl module to control which address fields are accessible.

Public Methods

  • execute()