public function WebformHandlerInterface::preprocessConfirmation in Webform 6.x
Same name and namespace in other branches
- 8.5 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 551
Class
- WebformHandlerInterface
- Defines the interface for webform handlers.
Namespace
Drupal\webform\PluginCode
public function preprocessConfirmation(array &$variables);