hook_field_widget_form_alter() is deprecated and replaced by hook_field_widget_single_element_form_alter()

Created on 8 February 2024, about 1 year ago
Updated 19 March 2024, 11 months ago

Problem/Motivation

in the workflow.api.php file, and in the workflow_devel submodule, the following hooks were documented/implemented:
- hook_field_widget_form_alter
- hook_field_widget_TYPE_form_alter

However, in 10.2 they are not called.
See the following change records:
- Streamline field_widget_hooks
- Field widgets generate lighter default $form[$field_name] structures

Steps to reproduce

enable workflow_devel module.
debug /repair all hooks.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇳🇱Netherlands johnv

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

Comments & Activities

Production build 0.71.5 2024