You are here

public function SchedulingStateInterface::haltTask in Webform Scheduled Tasks 8.2

Halt a scheduled task.

Parameters

\Drupal\webform_scheduled_tasks\Entity\WebformScheduledTaskInterface $scheduledTask: The task.

string $message: (Optional) The message to provide the user.

1 method overrides SchedulingStateInterface::haltTask()
SchedulingState::haltTask in src/SchedulingState.php
Halt a scheduled task.

File

src/SchedulingStateInterface.php, line 52

Class

SchedulingStateInterface
An interface for managing the scheduling state of tasks.

Namespace

Drupal\webform_scheduled_tasks

Code

public function haltTask(WebformScheduledTaskInterface $scheduledTask, $message = '');