You are here

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

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

File

src/YamlFormHandlerBase.php, line 286

Class

YamlFormHandlerBase
Provides a base class for a form handler.

Namespace

Drupal\yamlform

Code

public function alterElements(array &$elements, YamlFormInterface $yamlform) {
}