Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
forms system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
6 Aug 2014 at 15:14 UTC
Updated:
8 Jun 2023 at 12:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
tim.plunkettThis includes the methods, unit tests, and one conversion for each.
Comment #3
tim.plunkettComment #5
tim.plunkettWhoops, variable name clash.
Comment #7
larowlanThanks Tim
Comment #8
tim.plunkettComment #10
tim.plunkettComment #12
larowlanLove the API changes
Comment #13
tim.plunkettHmmm, I'll need a fresh day to tackle those failures. Here's the remaining changes.
Comment #15
tim.plunkettThis condition didn't use isset originally, it cares about empty string.
This should be it!
Comment #16
Crell commentedOh geez...
I only looked at FormState{Interface], but it looks reasonable. I was about to suggest using ArrayAccess for the values, as it maps pretty 1:1 to what we're doing there. However, Tim in IRC pointed me at #2310255: [meta] Remove ArrayAccess from FormState, which is sad-making because it means we probably won't be able to do that by release. :-( (107 unique top level keys? Really?)
Otherwise I am +1 here.
Comment #17
jibranMinor doc issues. This also needs change notice then it is RTBC.
more then 80 chars.
Comment #18
tim.plunkettThanks! Fixed and rerolled on top of #2315807: Remove support for path-based form redirects.
Comment #19
jibranThank you for the fixes. I have updated change notice https://www.drupal.org/node/2310411/revisions/view/7499617/7513005.
Comment #20
andypostSkimmed over the patch and found just a nitpicks
could use chaining
maybe out of scope, but suppose better to find a way to get rid of arrayaccess here for $form_state['instance']
Comment #21
tim.plunkett@jibran thanks!
@andypost, I don't think anything is really gained by chaining those.
And changing other $form_state keys is absolutely out of scope.
Comment #22
kim.pepper+1 from me. Love the DX improvement.
Comment #23
alexpottComment #24
tim.plunkettgit rebase handled that, no changes.
Comment #25
alexpottCommitted 8196034 and pushed to 8.0.x. Thanks!
Comment #29
gisleDeleted contents of spam pdf.