- Issue created by @Duwid
- Merge request !32Add TypedConfigManagerInterface $typedConfigManager argument to parent... → (Open) created by Duwid
The Drupal 11 ConfigFormBase class expects 2 arguments in constructor. The GenerateImageStyles (/admin/config/media/image-styles/generate) results in the following error:
ArgumentCountError: Too few arguments to function Drupal\Core\Form\ConfigFormBase::__construct(), 1 passed in /var/www/html/web/modules/contrib/easy_responsive_images/src/Form/Config/GenerateImageStyles.php on line 45 and exactly 2 expected in Drupal\Core\Form\ConfigFormBase->__construct() (line 44 of core/lib/Drupal/Core/Form/ConfigFormBase.php).
Install easy_responsive_image on a Drupal 11 page.
Add TypedConfigManagerInterface $typedConfigManager argument to parent constructor in GenerateImageStyles.php.
Active
1.4
Code