You are here

public function YamlFormElementBase::postDelete in YAML Form 8

Delete any additional value associated with an element.

Currently only applicable to file uploads.

Parameters

array $element: An element.

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

Overrides YamlFormElementInterface::postDelete

2 methods override YamlFormElementBase::postDelete()
YamlFormManagedFileBase::postDelete in src/Plugin/YamlFormElement/YamlFormManagedFileBase.php
Delete any additional value associated with an element.
YamlFormTest::postDelete in tests/modules/yamlform_test/src/Plugin/YamlFormElement/YamlFormTest.php
Delete any additional value associated with an element.

File

src/YamlFormElementBase.php, line 901

Class

YamlFormElementBase
Provides a base class for a form element.

Namespace

Drupal\yamlform

Code

public function postDelete(array &$element, YamlFormSubmissionInterface $yamlform_submission) {
}