You are here

public function WebformScheduledEmailManagerInterface::unschedule 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::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_email

Code

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