You are here

public function WebformElementBase::postDelete in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformElementBase.php \Drupal\webform\Plugin\WebformElementBase::postDelete()

Delete any additional value associated with an element.

Currently only applicable to file uploads.

Parameters

array $element: An element.

\Drupal\webform\WebformSubmissionInterface $webform_submission: A webform submission.

Overrides WebformElementInterface::postDelete

5 methods override WebformElementBase::postDelete()
TextFormat::postDelete in src/Plugin/WebformElement/TextFormat.php
Delete any additional value associated with an element.
WebformCompositeBase::postDelete in src/Plugin/WebformElement/WebformCompositeBase.php
Delete any additional value associated with an element.
WebformManagedFileBase::postDelete in src/Plugin/WebformElement/WebformManagedFileBase.php
Delete any additional value associated with an element.
WebformSignature::postDelete in src/Plugin/WebformElement/WebformSignature.php
Delete any additional value associated with an element.
WebformTestElement::postDelete in tests/modules/webform_test_element/src/Plugin/WebformElement/WebformTestElement.php
Delete any additional value associated with an element.

File

src/Plugin/WebformElementBase.php, line 2329

Class

WebformElementBase
Provides a base class for a webform element.

Namespace

Drupal\webform\Plugin

Code

public function postDelete(array &$element, WebformSubmissionInterface $webform_submission) {
}