Drupal 11 compatibility

Created on 30 October 2024, 2 months ago

Problem/Motivation

upgrade_status reports:

web/modules/contrib/nodeaccess/nodeaccess.install 17 Call to deprecated function user_role_permissions(). Deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement beyond loading the roles and calling \Drupal\user\Entity\Role::getPermissions().
web/modules/contrib/nodeaccess/nodeaccess.install 42 Call to deprecated function user_roles(). 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.
web/modules/contrib/nodeaccess/nodeaccess.install 114 Call to deprecated function user_roles(). 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.
web/modules/contrib/nodeaccess/nodeaccess.module 72 Call to deprecated function user_role_permissions(). Deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement beyond loading the roles and calling \Drupal\user\Entity\Role::getPermissions().
web/modules/contrib/nodeaccess/nodeaccess.module 235 Call to deprecated function user_role_permissions(). Deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement beyond loading the roles and calling \Drupal\user\Entity\Role::getPermissions().
web/modules/contrib/nodeaccess/src/Form/ConfigForm.php 76 Call to deprecated function user_roles(). 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.
web/modules/contrib/nodeaccess/nodeaccess.info.yml 6 Value of core_version_requirement: ^8 || ^9 || ^10 is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687.

📌 Task
Status

Active

Version

2.0

Component

Code

Created by

🇺🇸United States BenStallings

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