You are here

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

Get all the handler's statistics.

Parameters

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

string|null $handler_id: A webform handler id.

Return value

array An array containing the handler waiting, queued, ready, and total submissions.

1 method overrides WebformScheduledEmailManagerInterface::stats()
WebformScheduledEmailManager::stats in modules/webform_scheduled_email/src/WebformScheduledEmailManager.php
Get all the handler's statistics.

File

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

Class

WebformScheduledEmailManagerInterface
Provides an interface for managing webform scheduled emails.

Namespace

Drupal\webform_scheduled_email

Code

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