You are here

public function TestWebformHandler::updateElement in Webform 6.x

Same name and namespace in other branches
  1. 8.5 tests/modules/webform_test_handler/src/Plugin/WebformHandler/TestWebformHandler.php \Drupal\webform_test_handler\Plugin\WebformHandler\TestWebformHandler::updateElement()

Acts on a element after it has been updated.

Parameters

string $key: The element's key.

array $element: The element's properties.

array $original_element: The original element's properties.

Overrides WebformHandlerBase::updateElement

File

tests/modules/webform_test_handler/src/Plugin/WebformHandler/TestWebformHandler.php, line 233

Class

TestWebformHandler
Webform submission test handler.

Namespace

Drupal\webform_test_handler\Plugin\WebformHandler

Code

public function updateElement($key, array $element, array $original_element) {
  $this
    ->displayMessage(__FUNCTION__);
}