Log in
Model

AttributeRepository

Magento\Catalog\Model\Category\AttributeRepository

What it does

This class serves as a repository for managing category attributes in Magento 2.

Developers use it to retrieve category attribute information, either individually by attribute code or as a filtered list based on search criteria.

It acts as a facade over the EAV attribute repository, specifically handling category entity type operations and providing access to custom attribute metadata.

Public Methods

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