public function WebformScheduledEmailManagerInterface::queued 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::queued()
Get the number of emails queued but not ready to be sent.
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 queued but not ready to be sent.
1 method overrides WebformScheduledEmailManagerInterface::queued()
- WebformScheduledEmailManager::queued in modules/
webform_scheduled_email/ src/ WebformScheduledEmailManager.php - Get the number of emails queued but not ready to be sent.
File
- modules/
webform_scheduled_email/ src/ WebformScheduledEmailManagerInterface.php, line 337
Class
- WebformScheduledEmailManagerInterface
- Provides an interface for managing webform scheduled emails.
Namespace
Drupal\webform_scheduled_emailCode
public function queued(EntityInterface $entity = NULL, $handler_id = NULL);