You are here

public function TestYamlFormHandler::alterForm in YAML Form 8

Alter form submission form .

Parameters

array $form: An associative array containing the structure of the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

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

Overrides YamlFormHandlerBase::alterForm

File

tests/modules/yamlform_test/src/Plugin/YamlFormHandler/TestYamlFormHandler.php, line 64

Class

TestYamlFormHandler
Form submission test handler.

Namespace

Drupal\yamlform_test\Plugin\YamlFormHandler

Code

public function alterForm(array &$form, FormStateInterface $form_state, YamlFormSubmissionInterface $yamlform_submission) {
  $this
    ->displayMessage(__FUNCTION__);
}