AttributeProvider
Magento\Customer\Model\Indexer\AttributeProvider
What it does
This class provides dynamic EAV attribute fields for the customer grid indexer in Magento 2.
Developers use it to automatically include custom customer attributes in the admin customer grid, determining which attributes should be searchable, filterable, or virtual based on their grid display configuration.
It converts customer EAV attributes into indexer field definitions with appropriate handlers and data types.
Public Methods
- _resetState()
- addDynamicData()