Form ID should not start with _

Created on 21 December 2023, 12 months ago
Updated 20 August 2024, 4 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

Fixed

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.71.5 2024