You are here

public function WebformHandlerInterface::alterForm in Webform 6.x

Same name and namespace in other branches
  1. 8.5 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 395

Class

WebformHandlerInterface
Defines the interface for webform handlers.

Namespace

Drupal\webform\Plugin

Code

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