Problem/Motivation

  • Refactor a deprecated function hook_field_widget_form_alter() to hook_field_widget_multivalue_form_alter() since the following warning is reported by the tests running on Drupal core 9.2.x:
    The deprecated alter hook hook_field_widget_form_alter() is
    implemented in these functions: cloud_field_widget_form_alter. Deprecated
    in drupal:9.2.0 and is removed from drupal:10.0.0. Use
    hook_field_widget_single_element_form_alter or
    hook_field_widget_single_element_WIDGET_TYPE_form_alter instead. See
    https://www.drupal.org/node/3180429.
CommentFileSizeAuthor
#3 3195671-3.patch1.38 KByas

Issue fork cloud-3195671

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

yas created an issue. See original summary.

yas’s picture

Status: Active » Needs review
StatusFileSize
new1.38 KB
masami’s picture

Status: Needs review » Reviewed & tested by the community

@yas
I reviewed the patch and it looks good tome.
So I changed the status to RTBC.

yas’s picture

@masami

Thank you for your review. I'll merge the patch to 3.x and close this issue as Fixed.

  • yas committed 5addb78 on 3.x
    Issue #3195671 by yas, Masami: Refactor a deprecated function...

yas’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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

yas’s picture

Status: Closed (fixed) » Needs review

Re-opening this issue.

yas’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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