Problem/Motivation
hook_field_widget_WIDGET_TYPE_form_alter() was deprecated in favor of hook_field_widget_single_element_WIDGET_TYPE_form_alter().
Proposed resolution
- Replace usages of
hook_field_widget_WIDGET_TYPE_form_alter()withhook_field_widget_single_element_WIDGET_TYPE_form_alter(). - Remove support for versions of Drupal prior to 9.2 (since that is when
hook_field_widget_single_element_WIDGET_TYPE_form_alter()was introduced.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3396637-3.patch | 764 bytes | inglesaaron |
Issue fork require_on_publish-3396637
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
inglesaaron commentedComment #3
inglesaaron commentedComment #4
markdorisonAlso, I updated the issue description with links to the supporting docs.
Comment #7
viren18febs commentedHi @markdorison
I have added above changes into MR, please review.
Comment #8
markdorisonComment #9
markdorisonI am planning to commit the changes in MR 13 and create a new release. That said, these changes drop support for Drupal < 9.2. Since all of the versions we are dropping have already reached end-of-life, I don't feel it's necessary to create a new major version of the module but I wanted to share these intentions here first in case anyone would like to weigh in in one direction or another.
Comment #11
markdorisonCommitted the changes from MR13 and I will cut a new release. Thanks for the help, and hi @inglesaaron, I am just now seeing you up there! 😁👋