public function TestYamlFormHandler::preCreate in YAML Form 8
Changes the values of an entity before it is created.
Parameters
mixed[] $values: An array of values to set, keyed by property name.
Overrides YamlFormHandlerBase::preCreate
File
- tests/
modules/ yamlform_test/ src/ Plugin/ YamlFormHandler/ TestYamlFormHandler.php, line 97
Class
- TestYamlFormHandler
- Form submission test handler.
Namespace
Drupal\yamlform_test\Plugin\YamlFormHandlerCode
public function preCreate(array $values) {
$this
->displayMessage(__FUNCTION__);
}