Log in
Model

AttributesForm

Magento\EavGraphQl\Model\Resolver\AttributesForm

What it does

This resolver handles GraphQL queries to fetch EAV attributes associated with a specific form code.

Developers use this when building custom forms in the storefront via GraphQL, allowing them to dynamically retrieve form field definitions and metadata based on a form identifier.

It validates the form code, prevents access to admin forms, and returns attribute metadata for the requested store.

Public Methods

  • resolve()