Add #type to DateRecurModularAlphaWidget::formElement

Created on 1 April 2020, about 5 years ago
Updated 14 November 2024, 5 months ago

There is a php warning that we're seeing for missing #type in $variables for the widget form element. In this case it's showing up in the themable_forms module and a custom theme that we have, but it's probably likely to show up in other places as I believe having a #type is assumed.

It'd probably be good practice to add #type => container to the widget, I've seen it in the AddressDefaultWidget in the address module for example, which has a similar structure.

I've tested it out on our end and it doesn't seem to change any of the functionality.

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡«πŸ‡·France asherry

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024