By mondrake on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
11.0.x
Introduced in version:
11.0.0
Issue links:
Description:
FormBuilderInterface::getForm() and ::submitForm() now have their variadic argument explicited. Any implementation of the interface requires to comply to the new signature.
BEFORE
public function getForm($form_arg);
public function submitForm($form_arg, FormStateInterface &$form_state);
AFTER
public function getForm($form_arg, mixed ...$args);
public function submitForm($form_arg, FormStateInterface &$form_state, mixed ...$args);Impacts:
Module developers