Closed (fixed)
Project:
Quicklink
Version:
8.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
14 Mar 2019 at 12:29 UTC
Updated:
2 Apr 2019 at 13:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
karens commentedHere's a patch.
Comment #3
mherchelThis is awesome. There were a few bugs (fixed them w @hawkeye.twolf's help). But there are more (see error below).
Current status attached.
Comment #4
m4oliveiSeems like that PHP error is from the following:
You need to add a
usestatement along with the others at the top of this class to let PHP know where to find the rightContainerInterfaceinterface, eg.use Symfony\Component\DependencyInjection\ContainerInterface;Comment #5
i-trokhanenkoPlease review!
Comment #6
i-trokhanenkoComment #7
mherchel@i-trokhanenko Thanks for this! I'll test this and review it by early next week.
Comment #8
mtiftWhen extending ConfigFormBase it's not necessary to inject ConfigFactoryInterface. You can just do
In this patch, it doesn't look like it's even using configuration.
Comment #9
marcoscanoThis looks good to me, with the minor comment below:
Nitpick: We could update this line to be accurate to the object we are creating here.
True, however this patch overrides the constructor, and in order to be able to call the parent's contructor, we need the config factory available, so I guess it's OK as it stands, on this regard.
Comment #10
mtiftGood point @marcoscano. I concur.
Comment #12
mherchelOK. Updated patches below based on comments from @marcoscano and a quick hangout w @mtift
Comment #13
marcoscano👍 Looks good to me!
Comment #15
mherchelWoot! Committed. Thanks everyone :)