Drupal 11 deprecates user_role_names()

Created on 9 May 2025, 25 days ago

Problem/Motivation

Error when module installed in Drupal 11 and attempt to add a new menu entry... user_role_names() does not exist.

Steps to reproduce

Install Drupal 11. Install module. Edit a menu. Add link.

Proposed resolution

Replace call to user_role_names() with Drupal 11 equivalent. Patch provided.

🐛 Bug report
Status

Active

Version

1.1

Component

Code

Created by

🇨🇦Canada interjinn

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024