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

CommentFileSizeAuthor
#3 with-mr.jpg70.56 KBsarwan_verma
#3 with -out-mr.jpg208.64 KBsarwan_verma
Command icon 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

oostie created an issue. See original summary.

sarwan_verma’s picture

Status: Active » Reviewed & tested by the community
StatusFileSize
new208.64 KB
new70.56 KB

Hi,

I have tested MR!8 for Drupal 11, and it is working fine. I also attached a screenshot and moved it to RTBC++.
Thanks!.

wells made their first commit to this issue’s fork.

  • wells committed e9cb3087 on 3.0.x authored by oostie
    Issue #3476315 by oostie, sarwan_verma: Error on configuration form on...
wells’s picture

Version: 3.0.1 » 3.0.x-dev
Assigned: oostie » Unassigned
Priority: Normal » Major
Status: Reviewed & tested by the community » Fixed

Thanks for the report and the fix!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.