Problem/Motivation
#3157895: Move 'install_time' state update from \Drupal\Core\Installer\Form\SiteConfigureForm to installed_finished() deprecates the State service from \Drupal\Core\Installer\Form\SiteConfigureForm
We're doing some slightly unholy things in the constructor to preserve BC and triggering a deprecation warning.
This issue is about cleaning that up and restoring a clean constructor in D10.
Proposed resolution
- Restore typehints to the final 2 args to
\Drupal\Core\Installer\Form\SiteConfigureForm::__construct() - Remove the
trigger_error()in__construct() - Remove the
DeprecatedServicePropertyTrait - Remove
protected $deprecatedProperties - Remove the
@todopointing here
Remaining tasks
- Wait for the 10.0.x branch to open.
- Fix the stuff.
- Reviews / refinements.
- RTBC.
- Commit.
User interface changes
Nope.
API changes
\Drupal\Core\Installer\Form\SiteConfigureForm::__construct() only takes 5 arguments now, just like the CR warned people it would.
Data model changes
Nope.
Release notes snippet
TBD.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3159456-2.do-not-test.patch | 2.64 KB | dww |
Comments
Comment #2
dwwSomething like this, although it might need a re-roll when D10 opens. ;)
Comment #3
andypostas I see it's cleaned in 10.0.x