You are here

public function WebformHandlerBase::createElement in Webform 6.x

Same name and namespace in other branches
  1. 8.5 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 643

Class

WebformHandlerBase
Provides a base class for a webform handler.

Namespace

Drupal\webform\Plugin

Code

public function createElement($key, array $element) {
}