Module
- D10: stable release
- D11: stable release
- D12: stable release
Role Classes
Role Classes is a lightweight Drupal module that automatically adds a CSS class to the <body> tag based on the current user's highest-privilege role. This allows site builders and theme developers to style pages differently per role using pure CSS — no JavaScript, no template overrides, no cus
drupal.org
composer require drupal/role_classes58 out of 100
Watch
Only one person can publish fixes.
- Sites
- 183
- Latest release
- 4 months ago
- Contributors (12 months)
- 2
- Open bugs
- 1
Why 58?
How scores work →Scored for choosing for a business. Each part is out of 100.
- Adoption
- 183 sites, +6% in 12 months
- 15
- Activity
- Last release 4 months ago; 2 releases this year
- 44
- Community
- 1 maintainer can publish fixes; 2 people contributed this year
- 51
- Health
- 1 open bug, 0 serious; 0 finished fixes waiting