You are here

public function EmailWebformHandler::getMessageSummary in Webform 6.x

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

Build message summary.

Parameters

array $message: An array of message parameters.

Return value

array A renderable array representing a message summary.

Overrides WebformHandlerMessageInterface::getMessageSummary

File

src/Plugin/WebformHandler/EmailWebformHandler.php, line 1327

Class

EmailWebformHandler
Emails a webform submission.

Namespace

Drupal\webform\Plugin\WebformHandler

Code

public function getMessageSummary(array $message) {
  return [
    '#settings' => $message,
  ] + parent::getSummary();
}