- Issue created by @mrweiner
- Status changed to Needs review
5 months ago 9:09pm 9 July 2024
A couple of the forms in the module use the ModuleHandler. When using e.g. https://www.drupal.org/project/hux β , we get an error "TypeError: Drupal\commerce_smart_importer\Form\CSVIntroductionForm::__construct(): Argument #3 ($moduleHandler) must be of type Drupal\Core\Extension\ModuleHandler".
Install hux module and visit /admin/commerce-csv-introduction.
Use ModuleHandlerInterface instead of ModuleHandler.
Needs review
1.0
Code