Log in
Model

AbstractEav

Magento\ImportExport\Model\Import\Entity\AbstractEav

What it does

This abstract class provides the foundation for importing EAV (Entity-Attribute-Value) entities in Magento 2, such as products or customers.

Developers extend this class when creating custom import entities that need to handle attributes, websites, stores, and attribute options.

It handles initialization of entity attributes, website/store mappings, and provides methods to retrieve attribute options and entity type information.

Public Methods

  • getWebsiteId()
  • getEntityTypeId()
  • getAttributeOptions()
  • getAttributeCollection()