Log in
Model

StoreUserAgentThemeResolver

Magento\Theme\Model\Theme\StoreUserAgentThemeResolver

What it does

This class retrieves all themes that are configured for user-agent based theme switching for a specific store.

Developers would use this when they need to determine which themes are associated with browser/device detection rules, such as serving mobile-specific themes based on user agent patterns.

Public Methods

  • getThemes()