public function AllSubmissions::getResultSet in Webform Scheduled Tasks 8.2
Get an iterator for a set of results matching the conditions of the plugin.
Return value
\Iterator An iterator for all results that match the conditions of the plugin.
Overrides ResultSetPluginInterface::getResultSet
File
- src/
Plugin/ WebformScheduledTasks/ ResultSet/ AllSubmissions.php, line 21
Class
- AllSubmissions
- A scheduled result set plugin to load all submissions for a form.
Namespace
Drupal\webform_scheduled_tasks\Plugin\WebformScheduledTasks\ResultSetCode
public function getResultSet() {
$this
->initializeQueryDefaults();
return WebformIteratorAggregate::createFromQuery($this->submissionQuery)
->getIterator();
}