This module creates a "trial" user role that is automatically assigned upon installation and removed after a specified period. It also provides a hook that can be implemented to perform actions, such as sending an email, when the trial role is removed.
Provides a role for "trial" users.
Gives this role on install and then removes it after x number of days.
If you want to react on the role being removed (for example send a mail), you can implement the hook
function hook_trial_role_removed(\Drupal\user\UserInterface $user);
This module was developed as part of developing Violinist. Keep your composer dependencies up to date. Automatically and all the time.
Ask your assistant about Trial role
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
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 2.0.3 | Stable | 8–11 | Mar 25, 2024 |