public function WebformScheduledTask::getRunIntervalAmount in Webform Scheduled Tasks 8.2
Get the interval the admin has configured to run the task at.
Return value
int The interval.
Overrides WebformScheduledTaskInterface::getRunIntervalAmount
2 calls to WebformScheduledTask::getRunIntervalAmount()
- WebformScheduledTask::getNextTaskRunDate in src/
Entity/ WebformScheduledTask.php - Get the next run date for the task.
- WebformScheduledTask::incrementTaskRunDateByInterval in src/
Entity/ WebformScheduledTask.php - Increment the next task run date by the current time + the run interval.
File
- src/
Entity/ WebformScheduledTask.php, line 180
Class
- WebformScheduledTask
- Defines the webform schedule entity type.
Namespace
Drupal\webform_scheduled_tasks\EntityCode
public function getRunIntervalAmount() {
return isset($this->interval['amount']) ? $this->interval['amount'] : NULL;
}