Log in
Model

PopulateWithValues

Magento\Catalog\Model\CategoryRepository\PopulateWithValues

What it does

This class populates category entities with their attribute values and manages store-specific vs.

default values.

It's used internally by the CategoryRepository when loading categories to ensure proper handling of attribute values across different store views, marking which attributes should use default values and which have store-specific overrides.

Developers typically won't interact with this class directly as it's part of Magento's internal category loading process.

Public Methods

  • execute()
  • _resetState()