You are here

public function WebformHandlerBase::preprocessConfirmation in Webform 8.5

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

Prepares variables for webform confirmation templates.

Default template: webform-confirmation.html.twig.

Parameters

array $variables: An associative array containing the following key:

  • webform: A webform.
  • webform_submission: A webform submission.
  • source_entity: A webform submission source entity.

Overrides WebformHandlerInterface::preprocessConfirmation

2 methods override WebformHandlerBase::preprocessConfirmation()
ExampleWebformHandler::preprocessConfirmation in modules/webform_example_handler/src/Plugin/WebformHandler/ExampleWebformHandler.php
Prepares variables for webform confirmation templates.
TestWebformHandler::preprocessConfirmation in tests/modules/webform_test_handler/src/Plugin/WebformHandler/TestWebformHandler.php
Prepares variables for webform confirmation templates.

File

src/Plugin/WebformHandlerBase.php, line 669

Class

WebformHandlerBase
Provides a base class for a webform handler.

Namespace

Drupal\webform\Plugin

Code

public function preprocessConfirmation(array &$variables) {
}