Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Role description

No security coverage Under active development 253 sites

This module allows you to add descriptive text to user roles in Drupal. This enhances the user experience by displaying descriptions next to the role checkboxes in forms, making it easier to understand what each role entails.

This module allows you add role description in drupal configuration to improve
the UX of the role widget form, adding this description to the checkboxes.

The module implements native user role widget and works with role_delegation
widget as well.

Features

  • Add role description.
  • Add description to role checkboxes widgets.

Post-Installation

None.

Additional Requirements

None.

This module works as well with role_delegation.

Similar projects

None.

Drupal core related issue

In core are working to change the role entity to add description field in:
https://www.drupal.org/project/drupal/issues/256287

We have implements this solution to avoid conflicts with core implementation.
If the issue solved, this module will be deprecated.

Known issues

For now you can't translate role description config via UI because core doesn't
support sequence data type translations via UI.

Until this will be fixed, you can copy your exported config and put in a
language/ directory to translate overrides only the keys that you want to
translate. Examples:

config/main/role_description.settings.yml

_core:
  default_config_hash: {default_config_hash}
langcode: en
role_description:
  administrator: 'The role given to admin users.'
  content_editor: 'The role given to content editors.'

config/main/language/es/role_description.settings.yml

If you only want to translate content_editor the file would contains:

role_description:
  content_editor: 'Rol a asignar a los editores de contenido.'

Ask your assistant about Role description

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.

Activity

Tracked releases
4
Tracked since
Aug 2024
Latest release
4 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.0.0-rc2 Pre-release 10–11 Jun 12, 2026
1.0.0-rc1 Pre-release 10 Aug 30, 2024
1.0.x-dev Dev 10–11 Aug 29, 2024
1.0.0-alpha1 Pre-release 10 Aug 29, 2024