You are here

public function WebformHandlerMessageInterface::getMessage in Webform 8.5

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

Get a fully populated email for a webform submission.

Parameters

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

Return value

array An array containing message parameters.

1 method overrides WebformHandlerMessageInterface::getMessage()
EmailWebformHandler::getMessage in src/Plugin/WebformHandler/EmailWebformHandler.php
Get a fully populated email for a webform submission.

File

src/Plugin/WebformHandlerMessageInterface.php, line 23

Class

WebformHandlerMessageInterface
Defines the interface for webform handlers that send messages.

Namespace

Drupal\webform\Plugin

Code

public function getMessage(WebformSubmissionInterface $webform_submission);