Assign automatically a role to a new user in Drupal 8
by luigi laezza | 28th September 2020 | Web Development | bundle, drupal, roles, automatic
We recently had a project that required users to automatically assign a role to new users base on the values passed by that user in the registration form.
We created a module for that, auto_user_role, sorry if the name is not the best, but at the time it looked like a good name.
The bundle is actually pretty useful, but we would like to know your opinion, we have released the code on github , please hit the link and let us know how we could improve it.