- Issue created by @interlated
I have made the changes according to the upgrade status.
Please refer to attached patch.
Enable Switch Page Theme to be installed on drupal 11
Run upgrade status
Remove deprecated calls. Change version requirements.
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.
Active
4.0
Code
I have made the changes according to the upgrade status.
Please refer to attached patch.