You are here

public function ResultSetPluginBase::getScheduledTask in Webform Scheduled Tasks 8.2

Get the scheduled task.

Return value

\Drupal\webform_scheduled_tasks\Plugin\WebformScheduledTasks\ScheduledTaskNotifyInterface A scheduled task.

Throws

\Exception Thrown if no task has been set.

Overrides ScheduledTaskAwarePluginInterface::getScheduledTask

File

src/Plugin/WebformScheduledTasks/ResultSetPluginBase.php, line 146

Class

ResultSetPluginBase
A base class for result set plugins.

Namespace

Drupal\webform_scheduled_tasks\Plugin\WebformScheduledTasks

Code

public function getScheduledTask() {
  return $this->scheduledTask;
}