You are here

public function WebformScheduledTask::isHalted in Webform Scheduled Tasks 8.2

Check if a task has been halted.

Return value

bool TRUE if the task was halted, FALSE otherwise.

Overrides WebformScheduledTaskInterface::isHalted

File

src/Entity/WebformScheduledTask.php, line 296

Class

WebformScheduledTask
Defines the webform schedule entity type.

Namespace

Drupal\webform_scheduled_tasks\Entity

Code

public function isHalted() {
  return $this
    ->getScheduleState()
    ->isHalted($this);
}