public function WebformTestElement::preDelete 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::preDelete()
Overrides WebformElementBase::preDelete
File
- tests/
modules/ webform_test_element/ src/ Plugin/ WebformElement/ WebformTestElement.php, line 83
Class
- WebformTestElement
- Provides a 'webform_test_element' element.
Namespace
Drupal\webform_test_element\Plugin\WebformElementCode
public function preDelete(array &$element, WebformSubmissionInterface $webform_submission) {
$this
->displayMessage(__FUNCTION__);
}