public function WebformScheduledTask::registerSuccessfulTask in Webform Scheduled Tasks 8.2
Register a successful task run.
Overrides WebformScheduledTaskInterface::registerSuccessfulTask
File
- src/
Entity/ WebformScheduledTask.php, line 194
Class
- WebformScheduledTask
- Defines the webform schedule entity type.
Namespace
Drupal\webform_scheduled_tasks\EntityCode
public function registerSuccessfulTask() {
$this
->getResultSetPlugin()
->onSuccess($this
->getWebform());
$this
->getTaskPlugin()
->onSuccess($this
->getWebform());
}