You are here

public function WebformElementBase::postCreate in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformElementBase.php \Drupal\webform\Plugin\WebformElementBase::postCreate()

Acts on a webform submission element after it is created.

Parameters

array $element: An element.

\Drupal\webform\WebformSubmissionInterface $webform_submission: A webform submission.

Overrides WebformElementInterface::postCreate

1 method overrides WebformElementBase::postCreate()
WebformTestElement::postCreate in tests/modules/webform_test_element/src/Plugin/WebformElement/WebformTestElement.php
Acts on a webform submission element after it is created.

File

src/Plugin/WebformElementBase.php, line 2314

Class

WebformElementBase
Provides a base class for a webform element.

Namespace

Drupal\webform\Plugin

Code

public function postCreate(array &$element, WebformSubmissionInterface $webform_submission) {
}