Prevent error when #type is missing

Created on 15 August 2023, about 1 year ago

In some cases we get this error:

Warning: Undefined array key "#type" in image_library_widget_theme_suggestions_form_element() (line 37 of web/modules/contrib/image_library_widget/image_library_widget.module).

It happens when the element has no #type but has #theme

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇷🇴Romania claudiu.cristea Arad 🇷🇴

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

Comments & Activities

Production build 0.71.5 2024