You are here

public function SchedulingStateInterface::getNextScheduledTime in Webform Scheduled Tasks 8.2

Get the next time a task is scheduled to run.

Parameters

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

Return value

int|null The timestamp for the next scheduled time the task should run.

1 method overrides SchedulingStateInterface::getNextScheduledTime()
SchedulingState::getNextScheduledTime in src/SchedulingState.php
Get the next time a task is scheduled to run.

File

src/SchedulingStateInterface.php, line 32

Class

SchedulingStateInterface
An interface for managing the scheduling state of tasks.

Namespace

Drupal\webform_scheduled_tasks

Code

public function getNextScheduledTime(WebformScheduledTaskInterface $scheduledTask);