Closed (fixed)
Project:
Drupal core
Version:
9.4.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
24 Jan 2018 at 17:55 UTC
Updated:
8 Aug 2022 at 06:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #7
larowlanComment #8
avpadernoComment #10
anjali rathodComment #11
anjali rathodUpdated the $form_id description for hook_form_alter() .
Comment #12
pooja saraah commentedFixed failed commands on #11
Attached interdiff patch against Drupal 9.5.x
Comment #13
vinmayiswamy commentedI verified patch #12 in Drupal 9.4.x version. Patch applied cleanly and updated the $form_id description for hook_form_alter()
Thanks @pooja saraah
Comment #14
anjali rathodComment #15
avpadernoThat is a comma-split sentence: They are two sentences merged together with a comma, when the correct punctuation is a period.
There is no need to say method; that is clear, especially when the method name is prefixed by the class name that implements it (or the name of the interface that defines it). In this case, the method is defined from an interface, and the method name is
Drupal\Core\Form\FormInterface::getFormId().Alternatively, the comment could say:
I prefer the latter.
Comment #16
anjali rathodComment #17
hlopez commentedReviewed and tested patch #16 in Drupal 9.4.x. Looks good!
Comment #19
smustgrave commentedPutting back to RTBC that failure appeared random
Comment #21
catchCommitted/pushed to 10.1.x and cherry-picked back to 9.4.x, thanks!