Log in
Repository

CategoryAttributeRepositoryInterface

Magento\Catalog\Api\CategoryAttributeRepositoryInterface

What it does

This interface defines a repository for managing category attributes in Magento 2.

Developers use it to retrieve category attribute metadata, either by fetching a single attribute by code or getting a filtered list of attributes based on search criteria.

It's essential when building custom functionality that needs to work with category attribute definitions programmatically.

Public Methods

  • getList()
  • get()