public function ScheduleEmailWebformHandler::deleteHandler in Webform 6.x
Same name and namespace in other branches
- 8.5 modules/webform_scheduled_email/src/Plugin/WebformHandler/ScheduleEmailWebformHandler.php \Drupal\webform_scheduled_email\Plugin\WebformHandler\ScheduleEmailWebformHandler::deleteHandler()
Acts on handler after it has been removed.
Overrides WebformHandlerBase::deleteHandler
File
- modules/
webform_scheduled_email/ src/ Plugin/ WebformHandler/ ScheduleEmailWebformHandler.php, line 387
Class
- ScheduleEmailWebformHandler
- Schedules a webform submission's email.
Namespace
Drupal\webform_scheduled_email\Plugin\WebformHandlerCode
public function deleteHandler() {
$this->scheduledEmailManager
->unschedule($this->webform, $this
->getHandlerId());
}