Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
SearchSettingsForm uses:
$container->get('keyvalue')->get('state')
It should use:
$container->get('state')
Comment | File | Size | Author |
---|---|---|---|
#22 | drupal-2032235-22.patch | 8.55 KB | elachlan |
#19 | drupal-2032235-8.patch | 8.55 KB | elachlan |
#16 | drupal-2032235-7.patch | 8.59 KB | elachlan |
#10 | drupal-2032235-6.patch | 8.18 KB | elachlan |
#8 | drupal-2032235-5.patch | 8.3 KB | elachlan |
Comments
Comment #1
elachlan CreditAttribution: elachlan commentedComment #2
elachlan CreditAttribution: elachlan commentedUpdated patch to implement config factory as well.
Comment #4
elachlan CreditAttribution: elachlan commentedAccidentally changed the class name.
Comment #5
elachlan CreditAttribution: elachlan commentedPHP Syntax, forgot a ";".
Comment #6
elachlan CreditAttribution: elachlan commentedChanged to use $config instead of calling
Comment #8
elachlan CreditAttribution: elachlan commentedForgot a use and had referenced an incorrect variable name.
Comment #9
BerdirStill an accidental rename here.
the parent call usually happens first.
Comment #10
elachlan CreditAttribution: elachlan commentedRe-rolled with changes.
Comment #11
elachlan CreditAttribution: elachlan commentedComment #12
elachlan CreditAttribution: elachlan commentedAdding tags. Still needs review to be RTBC.
Comment #13
BerdirThis is just a bugfix, no API change :)
Comment #14
elachlan CreditAttribution: elachlan commentedOh ok. I wasn't sure because of the code freeze and wanted to get it in before the cut off :)
Comment #15
BerdirAnother invalid rename here :)
The namespace is actually wrong here, let's change \user\ to \search\Form\ while we're here.
The @param's need to be reflected for the changed arguments.
Now there's an empty line with trailing spaces here, that should be removed.
Comment #16
elachlan CreditAttribution: elachlan commentedDone :)
Comment #17
elachlan CreditAttribution: elachlan commentedBumping. Still needs review for RTBC.
Comment #18
Berdir"The state key/value store."
Trailing spaces.
Comment #19
elachlan CreditAttribution: elachlan commentedNew Patch. Fixes above issues.
Comment #20
elachlan CreditAttribution: elachlan commentedBumping again.
Comment #21
longwave+ * Constructs a \Drupal\search\Form\SystemConfigFormBase object.
This is a \Drupal\search\Form\SearchSettingsForm object.
Comment #22
elachlan CreditAttribution: elachlan commentedRe-rolled with fix for #21.
Comment #23
elachlan CreditAttribution: elachlan commentedComment #24
longwaveLooks RTBC to me presuming the tests pass.
Comment #26
longwave#22: drupal-2032235-22.patch queued for re-testing.
Comment #27
longwaveSeemingly unrelated failure in CommentLinksTest, let's see if this one runs green.
Comment #28
elachlan CreditAttribution: elachlan commentedTests passed! Good job everyone :)
Comment #29
alexpottCommitted be35585 and pushed to 8.x. Thanks!