You are here

interface ScheduledTaskNotifyInterface in Webform Scheduled Tasks 8.2

An interface for scheduled task plugins that are notified.

Hierarchy

Expanded class hierarchy of ScheduledTaskNotifyInterface

All classes that implement ScheduledTaskNotifyInterface

File

src/Plugin/WebformScheduledTasks/ScheduledTaskNotifyInterface.php, line 8

Namespace

Drupal\webform_scheduled_tasks\Plugin\WebformScheduledTasks
View source
interface ScheduledTaskNotifyInterface {

  /**
   * Called when a task is successful.
   */
  public function onSuccess();

  /**
   * Called when a task fails.
   */
  public function onFailure();

}

Members

Namesort descending Modifiers Type Description Overrides
ScheduledTaskNotifyInterface::onFailure public function Called when a task fails. 2
ScheduledTaskNotifyInterface::onSuccess public function Called when a task is successful. 2