Drupal 10 form_alter update

Created on 31 October 2023, 11 months ago
Updated 3 November 2023, 11 months ago

Problem/Motivation

In Drupal 10, text fields configured as either "Allow this field to be overridden" or "Prevent this field from being overwritten" are no longer greyed-out nor blocked, due to hook_field_widget_multivalue_form_alter being removed from Drupal 10.0.0.
* https://api.drupal.org/api/drupal/core%21modules%21field%21field.api.php...

Proposed resolution

* Replace the function with the recommended: hook_field_widget_complete_form_alter

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States ronaldmulero

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

Comments & Activities

Production build 0.71.5 2024