You are here

public function WebformScheduledEmailManagerInterface::waiting 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::waiting()

Get the number of emails waiting to be queued.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: A webform, webform submission, or source entity.

string|null $handler_id: A webform handler id.

Return value

int The number of emails waiting to be queued.

1 method overrides WebformScheduledEmailManagerInterface::waiting()
WebformScheduledEmailManager::waiting in modules/webform_scheduled_email/src/WebformScheduledEmailManager.php
Get the number of emails waiting to be queued.

File

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

Class

WebformScheduledEmailManagerInterface
Provides an interface for managing webform scheduled emails.

Namespace

Drupal\webform_scheduled_email

Code

public function waiting(EntityInterface $entity = NULL, $handler_id = NULL);