Log in
Model

CatalogTreeDataProvider

Magento\CatalogUrlRewriteGraphQl\Model\DataProvider\UrlRewrite\CatalogTreeDataProvider

What it does

This class provides category tree data for GraphQL URL rewrite queries in Magento 2.

Developers use this data provider to fetch complete category information including hierarchy when resolving URL rewrites for catalog categories.

It's primarily used by the GraphQL layer to return structured category data when a URL rewrite points to a category entity.

Public Methods

  • getData()