public function WebformHandlerBase::updateElement in Webform 6.x
Same name and namespace in other branches
- 8.5 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 648
Class
- WebformHandlerBase
- Provides a base class for a webform handler.
Namespace
Drupal\webform\PluginCode
public function updateElement($key, array $element, array $original_element) {
}