- Issue created by @interlated
I have made the changes according to the upgrade status.
Please refer to attached patch.- First commit to issue fork.
dileepkumargembali → changed the visibility of the branch 3489081-d11_ready to hidden.
- 🇦🇺Australia interlated
@shivam_tiwari the config form /admin/config/system/switch_page_theme is crashing for me.
TypeError: strlen(): Argument #1 ($string) must be of type string, Drupal\user\Entity\Role given in strlen() (line 395 of /srv/web/electrifyingbradfield.org/web/core/lib/Drupal/Component/Utility/Unicode.php).
I've pushed a change. Convert 'Role' to a string as is commonly done in drupal core.
- 🇮🇳India shivam_tiwari
Thanks @dileepkumargembali. I added a commit on MR 7. I was getting error related to constructor on the the config form /admin/config/system/switch_page_theme.
Too few arguments to function Drupal\Core\Form\ConfigFormBase::__construct(), 1 passed in /app/web/modules/switch_page_theme/src/Form/SwitchPageThemeSettingForm.php on line 55 and exactly 2 expected in Drupal\Core\Form\ConfigFormBase->__construct() (line 43 of /app/web/core/lib/Drupal/Core/Form/ConfigFormBase.php). - 🇮🇳India shashi_shekhar_18oct
MR!8 Makes this module compatible with Drupal 11. Functionality is working as expected.
RTBC +1