Log in
Model

DataCategoryUrlRewriteDatabaseMap

Magento\CatalogUrlRewrite\Model\Map\DataCategoryUrlRewriteDatabaseMap

What it does

This class manages a temporary database map for category URL rewrites in Magento 2.

It creates and queries temporary tables to efficiently retrieve all URL rewrites affected by a specific category, including categories used in products.

Developers use this during URL rewrite regeneration or when category changes need to cascade to related URL rewrites.

Public Methods

  • destroyTableAdapter()
  • getData()