Model
GetDefaultUrlKey
Magento\CatalogUrlRewrite\Model\ResourceModel\Category\GetDefaultUrlKey
What it does
This class retrieves the default URL key value for a category from the database.
Developers use it when they need to fetch a category's default store URL key, which is essential for URL generation and rewrite operations.
It's particularly useful when working with multi-store setups where you need the base URL key before store-specific overrides.
Public Methods
- execute()