You are here

public function TaskPluginBase::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

1 call to TaskPluginBase::getScheduledTask()
EmailedExport::initializeExporter in src/Plugin/WebformScheduledTasks/Task/EmailedExport.php
Get an exporter with initialized settings.

File

src/Plugin/WebformScheduledTasks/TaskPluginBase.php, line 100

Class

TaskPluginBase
A base class for task plugins.

Namespace

Drupal\webform_scheduled_tasks\Plugin\WebformScheduledTasks

Code

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