- Issue created by @poker10
The user_role_names
function was removed in Drupal 11, see:
https://www.drupal.org/project/drupal/issues/3432868
π
Remove deprecated code from user module
Fixed
and
https://www.drupal.org/node/3349759 β
.
The function is still used in both views filters:
https://git.drupalcode.org/project/views_published_or_roles/-/blob/8.x-1...
https://git.drupalcode.org/project/views_published_or_roles/-/blob/8.x-1...
We need to replace it, otherwise the modules it not fully compatible with D11.
Replace it with Role::loadMultiple()
Active
1.0
Code