You are here

public function Subscriber::query in Simplenews 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/migrate/source/d7/Subscriber.php \Drupal\simplenews\Plugin\migrate\source\d7\Subscriber::query()
  2. 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\d7

Code

public function query() {
  return $this
    ->select('simplenews_subscriber', 's')
    ->fields('s')
    ->orderBy('snid');
}