public function YamlFormHandlerBase::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 YamlFormHandlerInterface::preCreate
1 method overrides YamlFormHandlerBase::preCreate()
- TestYamlFormHandler::preCreate in tests/
modules/ yamlform_test/ src/ Plugin/ YamlFormHandler/ TestYamlFormHandler.php - Changes the values of an entity before it is created.
File
- src/
YamlFormHandlerBase.php, line 311
Class
- YamlFormHandlerBase
- Provides a base class for a form handler.
Namespace
Drupal\yamlformCode
public function preCreate(array $values) {
}