Module
- D10: stable release
- D11: stable release
- D12: stable release
Roles Classes
The Body Roles Classes module adds CSS classes to the HTML element based on the roles of the currently logged-in user. This helps developers and themers easily target users by role when applying styles or custom behaviors. Features Adds role-based CSS classes to the element Configurable class prefix
drupal.org
composer require drupal/body_roles_classes56 out of 100
Watch
Depends on one person.
- Sites
- 321
- Latest release
- 5 months ago
- Contributors (12 months)
- 1
- Open bugs
- 0
Why 56?
How scores work →Scored for choosing for a business. Each part is out of 100.
- Adoption
- 321 sites, +16% in 12 months
- 23
- Activity
- Last release 5 months ago; 3 releases this year
- 48
- Community
- 1 maintainer can publish fixes; 1 person contributed this year
- 43
- Health
- 0 open bugs, 0 serious; 0 finished fixes waiting