Log in
Model

Resolver

Magento\Theme\Model\Theme\Resolver

What it does

This class resolves and retrieves the currently active theme for a specific area (frontend, adminhtml, etc.) in Magento 2.

Developers use this when they need to programmatically determine which theme is currently being used, either by checking the design configuration or loading it from the database by ID or full path.

It's particularly useful in customizations where theme-specific logic needs to be applied.

Public Methods

  • get()