You are here

public function WebformHandlerInterface::prepareForm in Webform 8.5

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

Acts on an webform submission about to be shown on a webform submission form.

Parameters

\Drupal\webform\WebformSubmissionInterface $webform_submission: A webform submission.

string $operation: The current operation.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

1 method overrides WebformHandlerInterface::prepareForm()
WebformHandlerBase::prepareForm in src/Plugin/WebformHandlerBase.php
Acts on an webform submission about to be shown on a webform submission form.

File

src/Plugin/WebformHandlerInterface.php, line 429

Class

WebformHandlerInterface
Defines the interface for webform handlers.

Namespace

Drupal\webform\Plugin

Code

public function prepareForm(WebformSubmissionInterface $webform_submission, $operation, FormStateInterface $form_state);