Log in
Model

AttributeRepository

Magento\Catalog\Model\Category\AttributeRepository

What it does

This class manages category attribute operations in Magento 2's catalog system.

Developers use it to retrieve category attributes by code, get filtered lists of attributes based on search criteria, and fetch custom attribute metadata for categories.

It acts as a wrapper around the EAV attribute repository specifically for category entities.

Public Methods

  • getList()
  • get()
  • getCustomAttributesMetadata()
  • reloadState()