public function WebformScheduledEmailManagerInterface::stats in Webform 6.x
Same name and namespace in other branches
- 8.5 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_emailCode
public function stats(EntityInterface $entity = NULL, $handler_id = NULL);