Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

User Role Widget

Security covered Under active development 24 sites

This module provides custom widgets for role reference fields, allowing you to control which roles are visible and selectable on forms. It offers checkbox, select list, and autocomplete options for role selection.

This module extends the functionality of role reference fields by providing custom widgets tailored for role selection. With this module, users can select allowed roles, ensuring that only those roles are visible on the form. Three custom widgets are available for use with role reference fields.

  • User role checkbox widget
  • User role select list widget
  • User role autocomplete widget

*Upon selecting either the 'User role checkbox widget', 'User role select list widget' or 'User role autocomplete widget' users can configure the allowed roles in the settings form.

Requirements

* Install the user role widget module as you would normally install a
contributed Drupal module.

* Navigate to manage fields of any content type and add user reference field and choose role reference type.
* Navigate to the "Manage Display" section to customize the appearance of the user role widget.

Drupal 10–11

Ask your assistant about User Role Widget

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

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Apr 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.3 Stable 10–11 May 24, 2024
1.0.x-dev Dev 10–11 May 24, 2024
1.0.2 Stable 10–11 Apr 26, 2024
1.0.1 Stable 10–11 Apr 25, 2024
1.0.0 Stable 10–11 Apr 24, 2024