PHP Fatal Error When Redefining $typedConfigManager Property in ConfigFormBase Constructor in Drupal Core 10.4

Created on 9 January 2025, 3 months ago

In Drupal core 10.4 (or even a bit earlier) the property $typedConfigManager is defined in \Drupal\Core\Form\ConfigFormBase.

Redefining it in our class constructor causes the following error:

PHP Fatal error: Type of Drupal\schema_based_config_forms\Form\ConfigFormBase::$typedConfigManager must not be defined (as in class Drupal\Core\Form\ConfigFormBase) in dist/modules/contrib/schema_based_config_forms/src/Form/ConfigFormBase.php on line 20.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡§πŸ‡·Brazil halth Brazil

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