The deprecated alter hook hook_field_widget_form_alter() is implemented in these functions: view_mode_conditional_fields_field_widget_form_alter

Created on 23 November 2023, about 1 year ago
Updated 24 November 2023, about 1 year ago

Problem/Motivation

Some of the field widget hooks are being deprecated and removed in Drupal 10. See https://www.drupal.org/node/3180429 .
after changing Hook to "view_mode_conditional_fields_field_widget_single_element_form_alter" Working Fine for D10 but Not working on D9 and D9.5

Steps to reproduce

Add the module to the $modules array in a Kernel test and run the test on Drupal 9.2 or higher.

Proposed resolution

Replace the deprecated hook_field_widget_form_alter with the new corresponding hook

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India abhinesh

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