public function WebformScheduledEmailManagerInterface::unschedule 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::unschedule()
Unscheduled an email that is waiting to sent.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: A webform, webform submission, or source entity.
string|null $handler_id: The webform handler ID.
1 method overrides WebformScheduledEmailManagerInterface::unschedule()
- WebformScheduledEmailManager::unschedule in modules/
webform_scheduled_email/ src/ WebformScheduledEmailManager.php - Unscheduled an email that is waiting to sent.
File
- modules/
webform_scheduled_email/ src/ WebformScheduledEmailManagerInterface.php, line 244
Class
- WebformScheduledEmailManagerInterface
- Provides an interface for managing webform scheduled emails.
Namespace
Drupal\webform_scheduled_emailCode
public function unschedule(EntityInterface $entity, $handler_id = NULL);