Problem/Motivation
Deprecated function: Creation of dynamic property Drupal\config_pages\Form\ConfigPagesClearConfirmationForm::$id is deprecated in Drupal\config_pages\Form\ConfigPagesClearConfirmationForm->buildForm() (line 65 of modules/contrib/config_pages/src/Form/ConfigPagesClearConfirmationForm.php).
Steps to reproduce
Fresh Drupal 10.3.5 install, foo config page with 1 number field, edit the singleton, try to clear the values, get the Deprecation above at the confirmation step (/admin/structure/config_pages/1/confirmPurge).
If you confirm the clearing, it will clear the values, but show the same error message again.
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork config_pages-3474241
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
kopeboyComment #5
sarwan_verma commentedHi,
I have resolved the deprecated function issue and created MR!42.
Please review and verify.
Thanks!
Comment #6
kopeboyWow, so simple but it seems to fix!
Comment #8
shumer commented