You are here

public function YamlFormElementBase::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.

Overrides YamlFormElementInterface::postSave

2 methods override YamlFormElementBase::postSave()
YamlFormManagedFileBase::postSave in src/Plugin/YamlFormElement/YamlFormManagedFileBase.php
Acts on a saved form submission element before the insert or update hook is invoked.
YamlFormTest::postSave in tests/modules/yamlform_test/src/Plugin/YamlFormElement/YamlFormTest.php
Acts on a saved form submission element before the insert or update hook is invoked.

File

src/YamlFormElementBase.php, line 911

Class

YamlFormElementBase
Provides a base class for a form element.

Namespace

Drupal\yamlform

Code

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