You are here

public function WebformScheduledEmailManagerInterface::getSendDate in Webform 6.x

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

Get a webform submission's send date.

Parameters

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

string $handler_id: A webform handler id.

Return value

string|bool A send date using ISO date (YYYY-MM-DD) or datetime format (YYYY-MM-DD HH:MM:SS) or FALSE if the send date is invalid.

1 method overrides WebformScheduledEmailManagerInterface::getSendDate()
WebformScheduledEmailManager::getSendDate in modules/webform_scheduled_email/src/WebformScheduledEmailManager.php
Get a webform submission's send date.

File

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

Class

WebformScheduledEmailManagerInterface
Provides an interface for managing webform scheduled emails.

Namespace

Drupal\webform_scheduled_email

Code

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