You are here

public function YamlFormElementInterface::postSave in YAML Form 8

Acts on a saved form submission element before the insert or update hook is invoked.

Parameters

array $element: An element.

\Drupal\yamlform\YamlFormSubmissionInterface $yamlform_submission: A form submission.

bool $update: TRUE if the entity has been updated, or FALSE if it has been inserted.

1 method overrides YamlFormElementInterface::postSave()
YamlFormElementBase::postSave in src/YamlFormElementBase.php
Acts on a saved form submission element before the insert or update hook is invoked.

File

src/YamlFormElementInterface.php, line 558

Class

YamlFormElementInterface
Defines the interface for form elements.

Namespace

Drupal\yamlform

Code

public function postSave(array &$element, YamlFormSubmissionInterface $yamlform_submission, $update = TRUE);