Problem/Motivation

Some of the field widget hooks are being deprecated and removed in Drupal 10. See https://www.drupal.org/node/3180429.

Steps to reproduce

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

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

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

slogar32 created an issue. See original summary.

slogar32’s picture

Status: Active » Needs work
slogar32’s picture

Assigned: slogar32 » Unassigned
Issue summary: View changes
Status: Needs work » Needs review

tomefa’s picture

The PR is fine, it works for our kernel test on drupal 9.2 and 9.3 without deprecation notice.
But this new hook is merge to drupal core 9.2. See issue: https://www.drupal.org/node/3180429

So to be able to merge this, the core_version_requirement must be set to ^9.2, otherwise it will not work for user with drupal core < 9.2.

Dave Reid made their first commit to this issue’s fork.

dave reid’s picture

  • Dave Reid committed c024862 on 8.x-1.x authored by slogar32
    Issue #3269454 by Dave Reid, slogar32: Replaced deprecated...
dave reid’s picture

Status: Needs review » Fixed

Committed the MR to 8.x-1.x. Thanks!

Status: Fixed » Closed (fixed)

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