Drupal 11 compatibility for Switch Page Theme

Created on 22 November 2024, about 20 hours ago

Problem/Motivation

Enable Switch Page Theme to be installed on drupal 11

Steps to reproduce

Run upgrade status

Proposed resolution

Remove deprecated calls. Change version requirements.

Remaining tasks

Upgrade status reports:

1. web/modules/contrib/switch_page_theme/src/Form/SwitchPageThemeSettingForm.php 254 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.

2. web/modules/contrib/switch_page_theme/switch_page_theme.info.yml 5 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

4.0

Component

Code

Created by

🇦🇺Australia interlated

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

Comments & Activities

Production build 0.71.5 2024