You are here

public function WebformHandlerInterface::preCreate in Webform 6.x

Same name and namespace in other branches
  1. 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\Plugin

Code

public function preCreate(array &$values);