public function ExampleWebformHandler::createElement in Webform 6.x
Same name and namespace in other branches
- 8.5 modules/webform_example_handler/src/Plugin/WebformHandler/ExampleWebformHandler.php \Drupal\webform_example_handler\Plugin\WebformHandler\ExampleWebformHandler::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
- modules/
webform_example_handler/ src/ Plugin/ WebformHandler/ ExampleWebformHandler.php, line 223
Class
- ExampleWebformHandler
- Webform example handler.
Namespace
Drupal\webform_example_handler\Plugin\WebformHandlerCode
public function createElement($key, array $element) {
$this
->debug(__FUNCTION__);
}