You are here

public function WebformScheduledEmailManagerInterface::delete 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::delete()

Delete all scheduled emails associated with a webform or webform submission.

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::delete()
WebformScheduledEmailManager::delete in modules/webform_scheduled_email/src/WebformScheduledEmailManager.php
Delete all scheduled emails associated with a webform or webform submission.

File

modules/webform_scheduled_email/src/WebformScheduledEmailManagerInterface.php, line 264

Class

WebformScheduledEmailManagerInterface
Provides an interface for managing webform scheduled emails.

Namespace

Drupal\webform_scheduled_email

Code

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