You are here

public function YamlFormHandlerBase::postSave in YAML Form 8

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

Parameters

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

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

Overrides YamlFormHandlerInterface::postSave

3 methods override YamlFormHandlerBase::postSave()
EmailYamlFormHandler::postSave in src/Plugin/YamlFormHandler/EmailYamlFormHandler.php
Acts on a saved form submission before the insert or update hook is invoked.
RemotePostYamlFormHandler::postSave in src/Plugin/YamlFormHandler/RemotePostYamlFormHandler.php
Acts on a saved form submission before the insert or update hook is invoked.
TestYamlFormHandler::postSave in tests/modules/yamlform_test/src/Plugin/YamlFormHandler/TestYamlFormHandler.php
Acts on a saved form submission before the insert or update hook is invoked.

File

src/YamlFormHandlerBase.php, line 341

Class

YamlFormHandlerBase
Provides a base class for a form handler.

Namespace

Drupal\yamlform

Code

public function postSave(YamlFormSubmissionInterface $yamlform_submission, $update = TRUE) {
}