Log in
Interface

AttributeLoaderInterface

Magento\Eav\Model\Entity\AttributeLoaderInterface

What it does

This interface defines a contract for loading all EAV (Entity-Attribute-Value) attribute configurations for a given entity resource.

Developers would implement this interface when creating custom attribute loaders that need to retrieve and configure all attributes associated with an EAV entity, such as products, categories, or customers.

It's primarily used during entity initialization to ensure all attribute metadata is available for operations.

Public Methods

  • loadAllAttributes()