hook_field_widget_form_alter is not longer supported in D10

Created on 23 February 2024, 10 months ago
Updated 9 August 2024, 5 months ago

Problem/Motivation

On Drupal 10 hook_field_widget_form_alter got removed and it is now replaced by hook_field_widget_complete_form_alter according to the change record: https://www.drupal.org/node/3180429

On this module we are making usage of the hook_field_widget_form_alter() to preset the current_domain when create new Taxonomies o, Image Medias, etc...Unfortunately this functionality stopped to work on D10 due to the deprecation.

Proposed resolution

We should replace hook_field_widget_form_alter() because it is deprecated to hook_field_widget_complete_form_alter().
More details on this link: https://www.drupal.org/node/3180429

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇱🇹Lithuania a.raguckas Kaunas

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024