public function Subscriber::query in Simplenews 3.x
Same name and namespace in other branches
- 8.2 src/Plugin/migrate/source/d7/Subscriber.php \Drupal\simplenews\Plugin\migrate\source\d7\Subscriber::query()
- 8 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');
}