public function WebformHandlerBase::preprocessConfirmation in Webform 6.x
Same name and namespace in other branches
- 8.5 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 608
Class
- WebformHandlerBase
- Provides a base class for a webform handler.
Namespace
Drupal\webform\PluginCode
public function preprocessConfirmation(array &$variables) {
}