Log in
Model

AttributeProvider

Magento\Customer\Model\Indexer\AttributeProvider

What it does

This class provides dynamic EAV (Entity-Attribute-Value) attribute field definitions for the customer grid indexer in Magento 2.

Developers use this class when working with custom customer attributes that need to be searchable, filterable, or displayed in the admin customer grid.

It automatically converts customer attributes into indexed fields based on their grid configuration settings.

Public Methods

  • _resetState()
  • addDynamicData()