Log in
Repository

CategoryAttributeRepositoryInterface

Magento\Catalog\Api\CategoryAttributeRepositoryInterface

What it does

This interface defines methods for retrieving category attribute metadata in Magento 2.

Developers use this repository to fetch category attribute information, either by getting a specific attribute using its code or retrieving a list of attributes based on search criteria.

It's commonly used when building extensions that need to work with category attribute definitions, display attribute metadata, or validate category data.

Public Methods

  • getList()
  • get()