public function WebformScheduledEmailManagerInterface::total 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::total()
Get the total number of scheduled emails.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: A webform, webform submission, or source entity.
string|null $handler_id: A webform handler id.
string|null $state: The state of the scheduled emails.
Return value
int The total number of scheduled emails.
1 method overrides WebformScheduledEmailManagerInterface::total()
- WebformScheduledEmailManager::total in modules/
webform_scheduled_email/ src/ WebformScheduledEmailManager.php - Get the total number of scheduled emails.
File
- modules/
webform_scheduled_email/ src/ WebformScheduledEmailManagerInterface.php, line 365
Class
- WebformScheduledEmailManagerInterface
- Provides an interface for managing webform scheduled emails.
Namespace
Drupal\webform_scheduled_emailCode
public function total(EntityInterface $entity = NULL, $handler_id = NULL, $state = NULL);