Form ID should not start with _

Created on 21 December 2023, 6 months ago
Updated 27 December 2023, 6 months ago

Problem/Motivation

I am trying to use the module on Drupal 10 (with the patch from #3289415: Automated Drupal 10 compatibility fixes ) and on /admin/config/login/role_login_settings the form is not displayed.

Steps to reproduce

Install the module on Drupal 10 (with the patch from #3289415: Automated Drupal 10 compatibility fixes ).
Browse to /admin/config/login/role_login_settings.

Proposed resolution

It seems to happen because the form ID returned by getFormId() starts with "_". If I change it to "role_login_page_settings" it works.

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇫🇷France prudloff Lille

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

Comments & Activities

Production build 0.69.0 2024