Too few arguments for constructor in SettingsForm

Created on 15 April 2025, 7 days ago

Problem/Motivation

Drupal 11.1.3 the ConfigFormBase construct now expects to parameters.

Steps to reproduce

Install latest 3.0.0-beta15 and visit the settings form page.

/admin/config/content/moderated-content-bulk-publish

ArgumentCountError: Too few arguments to function Drupal\Core\Form\ConfigFormBase::__construct(), 1 passed in /var/www/html/web/modules/contrib/moderated_content_bulk_publish/src/Form/SettingsForm.php on line 32 and exactly 2 expected in Drupal\Core\Form\ConfigFormBase->__construct() (line 44 of core/lib/Drupal/Core/Form/ConfigFormBase.php).

Proposed resolution

Add the parameters.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States grgcrlsn321

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

Comments & Activities

Production build 0.71.5 2024