This module enables administrators to set different default themes based on user roles and the current URL. It allows for specific themes to be assigned to certain roles when users access particular pages, defined by regular expression patterns.
The Switch Theme module allows administrator to change default theme depending on role of the current authenticated user and the current URL.
For example, you can apply a specific theme for one to n role(s) according to the current url whitch match with configured regex pattern.
Practical case, for an authenticated user, who is on "/account" page. You can apply a specific theme for him with this configuration of the module:
- Role: Authenticated
- URI Pattern: #^/account$#
- Theme: Active specific theme to use
Similar modules:
- Theme switcher
"Theme Switcher module allows you to create theme-switching rules which allow automatic selection of a theme based on Drupal 8 Conditions system."
It works pretty well on D8 & D9
Ask your assistant about Switch Theme
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
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.