Problem/Motivation
The ConfigFormBase::__construct() method in Drupal 11 core has changed.
Steps to reproduce
Install and enable the countries_import module on Drupal 11.
Go to /admin/config/content/countries-import
ArgumentCountError: Too few arguments to function Drupal\Core\Form\ConfigFormBase::__construct(), 1 passed in ../web/modules/contrib/countries_import/src/Form/SettingsFormBase.php on line 72 and exactly 2 expected in Drupal\Core\Form\ConfigFormBase->__construct() (line 44 of core/lib/Drupal/Core/Form/ConfigFormBase.php).
Issue fork countries_import-3559196
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
ritarshi_chakraborty commentedWorking on it.
Comment #4
ritarshi_chakraborty commentedI have added two more dependencies for the module.
1.
content_translationbecause we are using ContentTranslationManagerInterface in SettingsFormBase2.
tokenbecause we are using it in FileUtilsWe will face errors if these two modules are not installed.
Comment #6
anthelixes commentedComment #8
anthelixes commented