Error on configuration form on Drupal 11

Created on 24 September 2024, 4 months ago

Problem/Motivation

When the module is installed on a Drupal 11 core website the configuration form isn't accessible because of this error:

Too few arguments to function Drupal\Core\Form\ConfigFormBase::__construct(), 1 passed in /var/www/html/web/modules/contrib/jsonapi_image_styles/src/Form/JsonApiImageStylesAdminForm.php

Steps to reproduce

Install module on a Drupal 11 website and navigate to the configuration form.

Proposed resolution

Add the Typed configuration manager as an dependency injection and pass it to the parent.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇳🇱Netherlands oostie Kampen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024