You are here

public function WebformHandlerInterface::alterForm in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformHandlerInterface.php \Drupal\webform\Plugin\WebformHandlerInterface::alterForm()

Alter webform 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\webform\WebformSubmissionInterface $webform_submission: A webform submission.

1 method overrides WebformHandlerInterface::alterForm()
WebformHandlerBase::alterForm in src/Plugin/WebformHandlerBase.php
Alter webform submission form.

File

src/Plugin/WebformHandlerInterface.php, line 441

Class

WebformHandlerInterface
Defines the interface for webform handlers.

Namespace

Drupal\webform\Plugin

Code

public function alterForm(array &$form, FormStateInterface $form_state, WebformSubmissionInterface $webform_submission);