By lauriii on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
10.2.x
Introduced in version:
10.2.0
Description:
The \Drupal\Core\Form\ConfigFormBase::__construct now accepts a $typedConfigManager argument. This argument must be an instance of \Drupal\Core\Config\TypedConfigManagerInterface. It is optional in 10.2 and will be required in 11.0.
- Classes extending
ConfigFormBaseand that do not override the constructor do not need to change anything now nor in the future: they automatically inherit this new behavior. - Classes extending
ConfigFormBasethat do override the constructor will need to update this by Drupal 11. - Classes that have a
$typedConfigManagerproperty continue to work fine in Drupal 10 thanks to the base class' property not being typehinted, but will need to be updated by Drupal 11.
Impacts:
Module developers