You are here

public function WebformScheduledTask::resume in Webform Scheduled Tasks 8.2

Resume a schedule.

NOTE: this will take effect immediately and does not require an entity save.

Return value

$this

Overrides WebformScheduledTaskInterface::resume

File

src/Entity/WebformScheduledTask.php, line 288

Class

WebformScheduledTask
Defines the webform schedule entity type.

Namespace

Drupal\webform_scheduled_tasks\Entity

Code

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