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
Issue fork entity_embed-3269454
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
Comment #2
slogar32 commentedComment #3
slogar32 commentedComment #5
tomefa commentedThe 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.
Comment #7
dave reidComment #9
dave reidCommitted the MR to 8.x-1.x. Thanks!