public function WebformHandlerBase::createElement in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformHandlerBase.php \Drupal\webform\Plugin\WebformHandlerBase::createElement()
Acts on a element after it has been created.
Parameters
string $key: The element's key.
array $element: The element's properties.
Overrides WebformHandlerInterface::createElement
2 methods override WebformHandlerBase::createElement()
- ExampleWebformHandler::createElement in modules/
webform_example_handler/ src/ Plugin/ WebformHandler/ ExampleWebformHandler.php - Acts on a element after it has been created.
- TestWebformHandler::createElement in tests/
modules/ webform_test_handler/ src/ Plugin/ WebformHandler/ TestWebformHandler.php - Acts on a element after it has been created.
File
- src/
Plugin/ WebformHandlerBase.php, line 704
Class
- WebformHandlerBase
- Provides a base class for a webform handler.
Namespace
Drupal\webform\PluginCode
public function createElement($key, array $element) {
}