public function WebformTestElement::postDelete in Webform 8.5
Same name and namespace in other branches
- 6.x tests/modules/webform_test_element/src/Plugin/WebformElement/WebformTestElement.php \Drupal\webform_test_element\Plugin\WebformElement\WebformTestElement::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 WebformElementBase::postDelete
File
- tests/
modules/ webform_test_element/ src/ Plugin/ WebformElement/ WebformTestElement.php, line 90
Class
- WebformTestElement
- Provides a 'webform_test_element' element.
Namespace
Drupal\webform_test_element\Plugin\WebformElementCode
public function postDelete(array &$element, WebformSubmissionInterface $webform_submission) {
$this
->displayMessage(__FUNCTION__);
}