Log in
Model

Config

Magento\Eav\Model\Config

What it does

This class manages EAV (Entity-Attribute-Value) configuration and attribute metadata for Magento 2.

Developers use it to retrieve entity types, load attribute objects, and access attribute collections with caching support.

It's essential when working with dynamic attributes for products, categories, customers, or custom entities.

Public Methods

  • getCache()
  • clear()
  • isCacheEnabled()
  • getEntityType()
  • getAttributes()
  • getAttribute()
  • getEntityAttributeCodes()
  • getEntityAttributes()
  • importAttributesData()
  • getWebsiteId()
  • _resetState()