Log in
Model

AttributeLoader

Magento\Eav\Model\Entity\AttributeLoader

What it does

This class is responsible for loading and initializing all attributes for an EAV entity (like products, customers, or categories).

It retrieves both configured attributes from the database and default static attributes, then attaches them to the entity resource.

Developers typically don't use this directly - it's called internally by Magento when loading EAV entities to ensure all attributes are available.

Public Methods

  • loadAllAttributes()