Change record status: 
Project: 
Introduced in branch: 
8.x-5.x
Introduced in version: 
8.x-5.3-beta2
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