Upon installation and going to the config form on Drupal 11.2.9, I am getting this:
ArgumentCountError: Too few arguments to function Drupal\Core\Form\ConfigFormBase::__construct(), 1 passed in /var/www/html/web/modules/contrib/cleaner/src/Form/CleanerSettingsForm.php on line 91 and exactly 2 expected in Drupal\Core\Form\ConfigFormBase->__construct() (line 44 of core/lib/Drupal/Core/Form/ConfigFormBase.php).
Is there something I need to do to make it work?
Thanks.
Issue fork cleaner-3561689
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
duckydan commentedComment #4
sergeydruua commentedI have updated CleanerSettingsForm to inject the config.typed service and pass it to the parent ConfigFormBase constructor.
This resolves the ArgumentCountError on Drupal 11 and maintains compatibility with Drupal 10.3+.
Comment #7
valentine94Meged to DEV branch, thanks
Comment #9
duckydan commentedWorks great now.
Thank you!