public function YamlFormHandlerInterface::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.
1 method overrides YamlFormHandlerInterface::alterForm()
- YamlFormHandlerBase::alterForm in src/
YamlFormHandlerBase.php - Alter form submission form .
File
- src/
YamlFormHandlerInterface.php, line 182
Class
- YamlFormHandlerInterface
- Defines the interface for form handlers.
Namespace
Drupal\yamlformCode
public function alterForm(array &$form, FormStateInterface $form_state, YamlFormSubmissionInterface $yamlform_submission);