You are here

public function YamlFormHandlerBase::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 YamlFormHandlerInterface::alterForm

1 method overrides YamlFormHandlerBase::alterForm()
TestYamlFormHandler::alterForm in tests/modules/yamlform_test/src/Plugin/YamlFormHandler/TestYamlFormHandler.php
Alter form submission form .

File

src/YamlFormHandlerBase.php, line 291

Class

YamlFormHandlerBase
Provides a base class for a form handler.

Namespace

Drupal\yamlform

Code

public function alterForm(array &$form, FormStateInterface $form_state, YamlFormSubmissionInterface $yamlform_submission) {
}