Model
StoreDefaultThemeResolver
Magento\Theme\Model\Theme\StoreDefaultThemeResolver
What it does
This class resolves the default frontend theme assigned to a specific store view in Magento 2.
Developers use this when they need to programmatically determine which theme is configured for a store, utilizing the system configuration fallback mechanism.
It handles both numeric theme IDs and theme codes, converting them to consistent theme IDs.
Public Methods
- getThemes()