public function TestWebformHandler::deleteElement in Webform 6.x
Same name and namespace in other branches
- 8.5 tests/modules/webform_test_handler/src/Plugin/WebformHandler/TestWebformHandler.php \Drupal\webform_test_handler\Plugin\WebformHandler\TestWebformHandler::deleteElement()
Acts on a element after it has been deleted.
Parameters
string $key: The element's key.
array $element: The element's properties.
Overrides WebformHandlerBase::deleteElement
File
- tests/
modules/ webform_test_handler/ src/ Plugin/ WebformHandler/ TestWebformHandler.php, line 240
Class
- TestWebformHandler
- Webform submission test handler.
Namespace
Drupal\webform_test_handler\Plugin\WebformHandlerCode
public function deleteElement($key, array $element) {
$this
->displayMessage(__FUNCTION__);
}