Log in
Model

Config

Magento\Eav\Model\Entity\Attribute\Config

What it does

This class manages the configuration of EAV (Entity-Attribute-Value) attributes in Magento 2, specifically handling locked fields that cannot be modified.

Developers use this when they need to retrieve which attribute fields are protected from editing, either for a specific attribute or for all attributes of an entity type.

It reads configuration from XML files and caches the results for performance.

Public Methods

  • getLockedFields()
  • getEntityAttributesLockedFields()