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

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

ronaldmulero created an issue. See original summary.

ronaldmulero’s picture

Here's the patch. When combined with the "Automated Drupal 10 compatibility fixes" patch, this module will work in Drupal 10.1.5
* https://www.drupal.org/project/migrate_override/issues/3297662

ronaldmulero’s picture

Status: Active » Needs review

Status: Needs review » Needs work
mikelutz’s picture

Version: 8.x-1.x-dev » 2.0.x-dev
Status: Needs work » Needs review

mikelutz’s picture

Status: Needs review » Fixed

Committed and pushed to 2.0.x branch. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.