Assign automatically a role to a new user in Drupal 8

We recently had a project that required use to automatically assign a role to new users base on the values passed by that use 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.

 

Assign automatically a role to a new user in Drupal 8 2017-06-22T13:49:42+00:00 Soipo

Comments are closed.

%d bloggers like this: