Closed (outdated)
Project:
Drupal core
Version:
8.3.x-dev
Component:
forms system
Priority:
Minor
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
23 Oct 2014 at 22:07 UTC
Updated:
28 May 2017 at 19:23 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
oenie commentedComment #2
oenie commentedI will provide a patch when #2335673: Remove usage of drupal_process_form(). goes in.
Comment #3
rpayanm3...2...1 go!
Comment #4
oenie commentedStop the clock ! :)
Comment #5
oenie commentedAnd ... nevermind ... i'm going back to the drawingboard ... i was a wee bit too optimistic ... sorry 'bout that ...
Comment #6
oenie commentedComment #7
wheatpenny commentedI am removing the Novice Tag from this issue because the next steps are not clear in the issue summary. (I am working with YesCT to triage the Novice list for the Friday sprint at DrupalConLA.)
Next Steps:
1. Write an issue summary based on the template defined at https://www.drupal.org/issue-summaries. If you have Novice tasks, be sure to clearly call them out.
2. Add a beta evaluation based on https://www.drupal.org/contributor-tasks/update-allowed-beta.
3. If appropriate, add back the Novice tag.
Comment #8
wheatpenny commentedComment #9
tim.plunkettThe form builder is a stateless service, so there's no additional benefit to doing this.
I think this could just be closed.
Comment #13
mile23Simpletest-based tests should be converted to KernelTestBase or BrowserTestBase tests. These tests have their own fixture container where you can get the form_builder service as needed, without \Drupal, and also add your own mocked services to the container.
Also, as a rule of thumb, test methods shouldn't have dependencies on class properties, because then you lose the benefit of test method isolation.
And +1 on #9. Closing this issue out since it's out of date.