GetAttributeByStore
Magento\CatalogUrlRewrite\Model\GetAttributeByStore
What it does
This model retrieves attribute values for products or categories across multiple store views.
Developers use it when they need to get store-specific attribute values (like URL keys or names) during URL rewrite generation or when working with multi-store catalog data.
It handles both product and category entities and returns an array mapping store IDs to their respective attribute values.
Public Methods
- execute()