public function WebformHandlerInterface::preCreate in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformHandlerInterface.php \Drupal\webform\Plugin\WebformHandlerInterface::preCreate()
Changes the values of an entity before it is created.
Note: This hook is ignored by conditional logic.
Parameters
mixed[] $values: An array of values to set, keyed by property name.
1 method overrides WebformHandlerInterface::preCreate()
- WebformHandlerBase::preCreate in src/
Plugin/ WebformHandlerBase.php - Changes the values of an entity before it is created.
File
- src/
Plugin/ WebformHandlerInterface.php, line 445
Class
- WebformHandlerInterface
- Defines the interface for webform handlers.
Namespace
Drupal\webform\PluginCode
public function preCreate(array &$values);