You are here

public function WebformHandlerMessageInterface::hasRecipient in Webform 8.5

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

Confirm that a message has a recipient.

Parameters

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

array $message: An array of message parameters.

Return value

bool TRUE if the message has a recipient.

1 method overrides WebformHandlerMessageInterface::hasRecipient()
EmailWebformHandler::hasRecipient in src/Plugin/WebformHandler/EmailWebformHandler.php
Confirm that a message has a recipient.

File

src/Plugin/WebformHandlerMessageInterface.php, line 46

Class

WebformHandlerMessageInterface
Defines the interface for webform handlers that send messages.

Namespace

Drupal\webform\Plugin

Code

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