You are here

public function WebformHandlerBase::deleteElement in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformHandlerBase.php \Drupal\webform\Plugin\WebformHandlerBase::deleteElement()

Acts on a element after it has been deleted.

Parameters

string $key: The element's key.

array $element: The element's properties.

Overrides WebformHandlerInterface::deleteElement

2 methods override WebformHandlerBase::deleteElement()
ExampleWebformHandler::deleteElement in modules/webform_example_handler/src/Plugin/WebformHandler/ExampleWebformHandler.php
Acts on a element after it has been deleted.
TestWebformHandler::deleteElement in tests/modules/webform_test_handler/src/Plugin/WebformHandler/TestWebformHandler.php
Acts on a element after it has been deleted.

File

src/Plugin/WebformHandlerBase.php, line 653

Class

WebformHandlerBase
Provides a base class for a webform handler.

Namespace

Drupal\webform\Plugin

Code

public function deleteElement($key, array $element) {
}