public function D6WebformSubmission::query in Webform: Migrate 8.2
Same name and namespace in other branches
- 8 src/Plugin/migrate/source/d6/D6WebformSubmission.php \Drupal\webform_migrate\Plugin\migrate\source\d6\D6WebformSubmission::query()
Return value
\Drupal\Core\Database\Query\SelectInterface
Overrides SqlBase::query
File
- src/
Plugin/ migrate/ source/ d6/ D6WebformSubmission.php, line 23
Class
- D6WebformSubmission
- Drupal 6 webform submission source from database.
Namespace
Drupal\webform_migrate\Plugin\migrate\source\d6Code
public function query() {
$query = $this
->select('webform_submissions', 'wfs');
$query
->fields('wfs', [
'nid',
'sid',
'uid',
'submitted',
'remote_addr',
'is_draft',
]);
return $query;
}