You are here

public function YamlFormTest::postLoad in YAML Form 8

Acts on loaded form submission.

Parameters

array $element: An element.

\Drupal\yamlform\YamlFormSubmissionInterface $yamlform_submission: A form submission.

Overrides YamlFormElementBase::postLoad

File

tests/modules/yamlform_test/src/Plugin/YamlFormElement/YamlFormTest.php, line 68

Class

YamlFormTest
Provides a 'yamlform_test' element.

Namespace

Drupal\yamlform_test\Plugin\YamlFormElement

Code

public function postLoad(array &$element, YamlFormSubmissionInterface $yamlform_submission) {
  $this
    ->displayMessage(__FUNCTION__);
}