Log in
Model

ReadHandler

Magento\Catalog\Model\Category\Link\ReadHandler

What it does

This class is responsible for reading and loading category link data for products in Magento 2.

It retrieves all category associations for a product entity and populates them as extension attributes, making category link information available when working with product objects.

Developers typically don't interact with this class directly - it's automatically invoked by Magento's entity manager when loading product data.

Public Methods

  • execute()