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