- Issue created by @Liam Morland
- Issue was unassigned.
- Status changed to Needs review
10 months ago 4:42pm 12 January 2024 - last update
10 months ago Composer require-dev failure - last update
10 months ago Composer require-dev failure - last update
10 months ago 169 pass, 12 fail - last update
10 months ago 180 pass - Status changed to Postponed: needs info
10 months ago 10:52am 14 January 2024 - 🇨🇭Switzerland berdir Switzerland
The method is called by WidgetBase::formSingleElement which has hooks, I'm not sure why this is needed.
- Status changed to Fixed
10 months ago 4:04pm 15 January 2024 - 🇨🇦Canada Liam Morland Ontario, CA 🇨🇦
Thanks, I was able to do it with
hook_field_widget_single_element_WIDGET_TYPE_form_alter()
withWIDGET_TYPE
asparagraphs
. Automatically closed - issue fixed for 2 weeks with no activity.
- 🇪🇸Spain enchufe Spain
I recently updated the Drupal core version to 10.3 (From 10.1) and
hook_field_widget_single_element_WIDGET_TYPE_form_alter()
stopped working, it simply ignored the existence of the functions invoked with this hook. As a solution I applied patch #3 💬 Create alter hook hook_paragraphs_widget_alter() Fixed and replaced the hooks and now it works correctly again. - 🇭🇺Hungary nagy.balint
Hi!
The hook_field_widget_single_element_WIDGET_TYPE_form_alter() works for me on core 10.3.5 and paragraphs: 1.18