You are here

public function WebformHandlerBase::updateElement in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformHandlerBase.php \Drupal\webform\Plugin\WebformHandlerBase::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 WebformHandlerInterface::updateElement

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

File

src/Plugin/WebformHandlerBase.php, line 709

Class

WebformHandlerBase
Provides a base class for a webform handler.

Namespace

Drupal\webform\Plugin

Code

public function updateElement($key, array $element, array $original_element) {
}