Log in
Model

AttributeProvider

Magento\Eav\Model\AttributeProvider

What it does

This class retrieves all EAV attribute codes for a given entity type (like products or customers).

Developers use it when they need to get a list of all available attributes for entity snapshot functionality, particularly for tracking changes to EAV entities.

It filters out attributes without an attribute set and returns an array of attribute codes.

Public Methods

  • getAttributes()