public function WebformHandlerMessageInterface::hasRecipient in Webform 6.x
Same name and namespace in other branches
- 8.5 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\PluginCode
public function hasRecipient(WebformSubmissionInterface $webform_submission, array $message);