interface ScheduledTaskNotifyInterface in Webform Scheduled Tasks 8.2
An interface for scheduled task plugins that are notified.
Hierarchy
- interface \Drupal\webform_scheduled_tasks\Plugin\WebformScheduledTasks\ScheduledTaskNotifyInterface
Expanded class hierarchy of ScheduledTaskNotifyInterface
All classes that implement ScheduledTaskNotifyInterface
File
- src/
Plugin/ WebformScheduledTasks/ ScheduledTaskNotifyInterface.php, line 8
Namespace
Drupal\webform_scheduled_tasks\Plugin\WebformScheduledTasksView source
interface ScheduledTaskNotifyInterface {
/**
* Called when a task is successful.
*/
public function onSuccess();
/**
* Called when a task fails.
*/
public function onFailure();
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ScheduledTaskNotifyInterface:: |
public | function | Called when a task fails. | 2 |
ScheduledTaskNotifyInterface:: |
public | function | Called when a task is successful. | 2 |