Log in
Model

GetUrlRewriteData

Magento\CatalogUrlRewrite\Model\ResourceModel\Product\GetUrlRewriteData

What it does

This class retrieves URL rewrite data for products from the database, specifically fetching the url_key and visibility attributes across different store views.

Developers would use this when generating or managing product URL rewrites, particularly when needing to understand how a product's URL structure varies across multiple stores or when building custom URL rewrite logic.

Public Methods

  • execute()