public function WebformTestElement::postLoad in Webform 8.5
Same name and namespace in other branches
- 6.x tests/modules/webform_test_element/src/Plugin/WebformElement/WebformTestElement.php \Drupal\webform_test_element\Plugin\WebformElement\WebformTestElement::postLoad()
Acts on loaded webform submission.
Parameters
array $element: An element.
\Drupal\webform\WebformSubmissionInterface $webform_submission: A webform submission.
Overrides WebformElementBase::postLoad
File
- tests/
modules/ webform_test_element/ src/ Plugin/ WebformElement/ WebformTestElement.php, line 76
Class
- WebformTestElement
- Provides a 'webform_test_element' element.
Namespace
Drupal\webform_test_element\Plugin\WebformElementCode
public function postLoad(array &$element, WebformSubmissionInterface $webform_submission) {
$this
->displayMessage(__FUNCTION__);
}