Deprecated hook_field_widget_WIDGET_TYPE_form_alter removed in Drupal 10

Created on 12 July 2023, over 1 year ago
Updated 10 November 2023, about 1 year ago

Problem/Motivation

Some of the field widget hooks are being deprecated and removed in Drupal 10. See Streamline field widget hooks .

Steps to reproduce

The file advanced_text_formatter.module has hooks deprecated in Drupal 9.2 and removed in Drupal 10.

Proposed resolution

Use hooks specified in deprecation.

🐛 Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

🇺🇾Uruguay fanton Uruguay

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

Comments & Activities

  • Issue created by @fanton
  • @fanton opened merge request.
  • Issue was unassigned.
  • Status changed to Needs review over 1 year ago
  • 🇺🇾Uruguay fanton Uruguay

    I replaced the removed hook_field_widget_form_alter with the new corresponding hook and applied Drupal coding standards in the file advanced_text_formatter.module.
    I created an MR and attach the patch file.
    Please review.

  • 🇨🇦Canada Liam Morland Ontario, CA 🇨🇦

    The patch file does not apply. It was created from the wrong directory and includes many more changes than the merge request.

    The merge request includes a lot of coding standards changes which should be done separately.

  • 🇮🇳India mukhtarm

    I am working on this. will raise a new MR for coding standard and modify the current one.

  • @mukhtarm opened merge request.
Production build 0.71.5 2024