You are here

public function WebformHandlerMessageInterface::sendMessage in Webform 6.x

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

Sends and logs a webform submission message.

Parameters

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

array $message: An array of message parameters.

1 method overrides WebformHandlerMessageInterface::sendMessage()
EmailWebformHandler::sendMessage in src/Plugin/WebformHandler/EmailWebformHandler.php
Sends and logs a webform submission message.

File

src/Plugin/WebformHandlerMessageInterface.php, line 33

Class

WebformHandlerMessageInterface
Defines the interface for webform handlers that send messages.

Namespace

Drupal\webform\Plugin

Code

public function sendMessage(WebformSubmissionInterface $webform_submission, array $message);