How to programmatically get a list of users by role in Drupal 8/9
In Drupal 8 and drupal 9, get a list of users related to a particular role by using the following snippet. For example, the role is an editor.
Share
share your add link
https%3A%2F%2Fmycode.blog%2Flakshmi%2Fhow-programmatically-get-list-users-role-drupal-89%0A
Share in social
Comments