Drupal 11 deprecation error details

Call to deprecated function user_role_names(). Deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use Drupal​\​user​\​Entity​\​Role::loadMultiple() and, if necessary, an inline implementation instead.

Occurence count Affected project count Occurs in a top X project by usage Category
69 53 500 Drupal API, not rector covered
Filter projects
Project Top X by usage Occurrences Sort ascending
multiple_registration 3.x-dev 1000 5
bulk_user_registration 2.0.x-dev 15000 3
permission_watchdog 2.x-dev 15000 3
add_to_head 1.x-dev 15000 2
photos 6.0.x-dev 15000 2
role_theme_switcher 1.x-dev 15000 2
role_classes 1.0.x-dev 15000 2
content_notification 2.8 15000 2
onelogin_integration 3.0.0 15000 2
private_message_flood 2.x-dev 15000 2
backup_permissions 2.x-dev 15000 2
change_pwd_page 2.x-dev 500 1
entity_type_clone 4.0.x-dev 1000 1
user_prune 1.x-dev 1000 1
new_relic_rpm 2.x-dev 1000 1
user_csv_import 2.0.x-dev 15000 1
admin_content_notification 4.1 15000 1
crazyegg 1.x-dev 15000 1
views_field_permissions 2.x-dev 15000 1
mass_pwreset 2.x-dev 15000 1
show_email 1.x-dev 15000 1
linkedin_insights_tag 1.x-dev 15000 1
microsoft_clarity 1.1.x-dev 15000 1
popup_after_login 9.2.x-dev 15000 1
security_login_secure 1.21 15000 1
tether_stats 2.x-dev 15000 1
advanced_pwa 1.x-dev 15000 1
usage_data 2.0.x-dev 15000 1
commerce_price_rule 1.x-dev 15000 1
user_referral 3.2.1 15000 1
really_simple_google_tag 1.0.x-dev 15000 1
userlike 1.0.x-dev 15000 1
commerce_product_restriction 1.1.0 15000 1
form_display_visibility 2.x-dev 15000 1
blazyloading 2.0.0 15000 1
login_message 1.0.x-dev 15000 1
site24x7 1.0.x-dev 15000 1
snapengage 3.0.x-dev 15000 1
apply_for_role 2.0.0-alpha3 15000 1
azure_ad_login 1.0.x-dev 15000 1
menu_custom_access 2.0.0-beta2 15000 1
user_delete_reassign 1.x-dev 15000 1
user_one_time_login 1.0.2 15000 1
admin_role_ui 1.0.x-dev 15000 1
field_visibility_manager 1.0.x-dev 15000 1
adroll 1.0.x-dev 15000 1
crownpeak_autofix 1.0.1 15000 1
danse_moderation_notifications 1.0.x-dev 15000 1
notificate_insert 2.0.x-dev 15000 1
poool 1.0.x-dev 15000 1
role_language_negotiation 2.0.x-dev 15000 1
simplenews_subscriber_filters 1.1.x-dev 15000 1
subscription_manager 1.0.x-dev 15000 1


Results are from dataset #488045 from 2025-05-03T12:30. Report is ran by the Drupal Association regularly.