protected function ResultSetPluginBase::initializeQueryDefaults in Webform Scheduled Tasks 8.2
Initialize options likely to be common to most result sets.
2 calls to ResultSetPluginBase::initializeQueryDefaults()
- AllSubmissions::getResultSet in src/
Plugin/ WebformScheduledTasks/ ResultSet/ AllSubmissions.php - Get an iterator for a set of results matching the conditions of the plugin.
- SubmissionsCompletedSinceLastSuccess::getResultSet in src/
Plugin/ WebformScheduledTasks/ ResultSet/ SubmissionsCompletedSinceLastSuccess.php - Get an iterator for a set of results matching the conditions of the plugin.
File
- src/
Plugin/ WebformScheduledTasks/ ResultSetPluginBase.php, line 128
Class
- ResultSetPluginBase
- A base class for result set plugins.
Namespace
Drupal\webform_scheduled_tasks\Plugin\WebformScheduledTasksCode
protected function initializeQueryDefaults() {
$this->submissionQuery
->accessCheck(FALSE);
$this->submissionQuery
->condition('webform_id', $this
->getScheduledTask()
->getWebform()
->id());
$this->submissionQuery
->condition('in_draft', FALSE);
$this->submissionQuery
->sort('sid');
}