Closed (fixed)
Project:
Drupal core
Version:
9.2.x-dev
Component:
documentation
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 Mar 2021 at 21:37 UTC
Updated:
10 Aug 2021 at 08:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
guilhermevp commentedSending patch, please review!
Comment #3
guilhermevp commentedUpdated patch fixing grammar error.
Comment #4
hmendes commentedPatch from #3 was applied successfully and changed the parameter comment.
Changing it to RTBC.
Comment #5
alexpottSure we can fix this but it'd be great if someone can file a follow-up to remove the use-case. I think it's not necessary. We can check if
$elements[#type]equalsforminstead of this. Form elements cannot be nested. It also has the advantage of being more semantic - if you're dealing with a form do the form validation path.Comment #6
alexpottCommitted and pushed 52f5af29a8 to 9.3.x and 2c47aaa2b9 to 9.2.x. Thanks!
Backported to 9.2.x as this a docs only patch.