You are here

public function TaskPluginInterface::executeTask in Webform Scheduled Tasks 8.2

Execute a task.

Parameters

\Iterator $submissions: An iterator of webform submissions to process.

Throws

\Exception

\Drupal\webform_scheduled_tasks\Exception\RetryScheduledTaskException

\Drupal\webform_scheduled_tasks\Exception\HaltScheduledTaskException

4 methods override TaskPluginInterface::executeTask()
EmailedExport::executeTask in src/Plugin/WebformScheduledTasks/Task/EmailedExport.php
Execute a task.
HaltExceptionTask::executeTask in tests/modules/webform_scheduled_tasks_test_types/src/Plugin/WebformScheduledTasks/Task/HaltExceptionTask.php
Execute a task.
RetryExceptionTask::executeTask in tests/modules/webform_scheduled_tasks_test_types/src/Plugin/WebformScheduledTasks/Task/RetryExceptionTask.php
Execute a task.
TestTask::executeTask in tests/modules/webform_scheduled_tasks_test_types/src/Plugin/WebformScheduledTasks/Task/TestTask.php
Execute a task.

File

src/Plugin/WebformScheduledTasks/TaskPluginInterface.php, line 25

Class

TaskPluginInterface
An interface for scheduled tasks.

Namespace

Drupal\webform_scheduled_tasks\Plugin\WebformScheduledTasks

Code

public function executeTask(\Iterator $submissions);