You are here

public function TestYamlFormHandler::alterElements in YAML Form 8

Alter form submission form elements.

Parameters

array $elements: An associative array containing the form elements.

\Drupal\yamlform\YamlFormInterface $yamlform: The form.

Overrides YamlFormHandlerBase::alterElements

File

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

Class

TestYamlFormHandler
Form submission test handler.

Namespace

Drupal\yamlform_test\Plugin\YamlFormHandler

Code

public function alterElements(array &$elements, YamlFormInterface $yamlform) {
  $this
    ->displayMessage(__FUNCTION__);
}