By jrockowitz on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x-5.x
Introduced in version:
8.x-5.3-beta2
Issue links:
Description:
The $values argument is now passed by reference to WebformHandler::preCreate and WebformElement::preCreate.
The below plugin methods have changed…
WebformHandlerInterface::preCreate(array $values)
=> WebformHandlerInterface::preCreate(array &$values)WebformElementInterface::preCreate(array $values)
=> WebformElementInterface::preCreate(array &$values)If you have any WebformHandlers or WebformElements that override these methods, you will get a fatal error and must update the method's signature.
Impacts:
Module developers