public function WebformHandlerInterface::preprocessConfirmation in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformHandlerInterface.php \Drupal\webform\Plugin\WebformHandlerInterface::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.
1 method overrides WebformHandlerInterface::preprocessConfirmation()
- WebformHandlerBase::preprocessConfirmation in src/
Plugin/ WebformHandlerBase.php - Prepares variables for webform confirmation templates.
File
- src/
Plugin/ WebformHandlerInterface.php, line 597
Class
- WebformHandlerInterface
- Defines the interface for webform handlers.
Namespace
Drupal\webform\PluginCode
public function preprocessConfirmation(array &$variables);