public function Subscriber::query in Simplenews 8.2
Same name and namespace in other branches
- 8 src/Plugin/migrate/source/d7/Subscriber.php \Drupal\simplenews\Plugin\migrate\source\d7\Subscriber::query()
- 3.x src/Plugin/migrate/source/d7/Subscriber.php \Drupal\simplenews\Plugin\migrate\source\d7\Subscriber::query()
Return value
\Drupal\Core\Database\Query\SelectInterface
Overrides SqlBase::query
File
- src/
Plugin/ migrate/ source/ d7/ Subscriber.php, line 43
Class
- Subscriber
- Migration source for Subscriber entries in D7.
Namespace
Drupal\simplenews\Plugin\migrate\source\d7Code
public function query() {
return $this
->select('simplenews_subscriber', 's')
->fields('s')
->orderBy('snid');
}