Theme Switcher Rules
Theme Switcher module allows you to create theme-switching rules which allow automatic selection of a theme based on Drupal 8 Conditions system. Because of this it can also be easily extended to support additional custom conditions exposed by other modules. In Drupal 8 conditions are no longer defined through a hook and they are plugins now.
With this module you can apply a specific theme to a unique node, use different themes based on the page language, use contrib conditions like a domain to apply one theme or another. The best of all is that you can do al of the above at once!
Requirements
The module require PHP >=7.1 and Drupal 8.5 or higher.
Installation
Install as you would normally install a contributed Drupal module.
Alternatives
- https://www.drupal.org/project/theme_flip is a very nice alternative for previewing different themes without switching the default theme
- https://www.drupal.org/project/theme_change is another lightweight alternative
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 2.1.0 | Stable | Nov 19, 2024 |