You are here

public function WebformScheduledEmailManagerInterface::hasScheduledEmail in Webform 8.5

Same name and namespace in other branches
  1. 6.x modules/webform_scheduled_email/src/WebformScheduledEmailManagerInterface.php \Drupal\webform_scheduled_email\WebformScheduledEmailManagerInterface::hasScheduledEmail()

Determine if submission has scheduled email for specified handler.

Parameters

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

string $handler_id: The webform handler ID.

Return value

bool TRUE if submission has scheduled email.

1 method overrides WebformScheduledEmailManagerInterface::hasScheduledEmail()
WebformScheduledEmailManager::hasScheduledEmail in modules/webform_scheduled_email/src/WebformScheduledEmailManager.php
Determine if submission has scheduled email for specified handler.

File

modules/webform_scheduled_email/src/WebformScheduledEmailManagerInterface.php, line 189

Class

WebformScheduledEmailManagerInterface
Provides an interface for managing webform scheduled emails.

Namespace

Drupal\webform_scheduled_email

Code

public function hasScheduledEmail(WebformSubmissionInterface $webform_submission, $handler_id);