You are here

protected function Newsletter::query72 in Simplenews 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/migrate/source/d7/Newsletter.php \Drupal\simplenews\Plugin\migrate\source\d7\Newsletter::query72()
  2. 3.x src/Plugin/migrate/source/d7/Newsletter.php \Drupal\simplenews\Plugin\migrate\source\d7\Newsletter::query72()

Get query for Simplenews module version 7.x-2.x.

1 call to Newsletter::query72()
Newsletter::query in src/Plugin/migrate/source/d7/Newsletter.php

File

src/Plugin/migrate/source/d7/Newsletter.php, line 81

Class

Newsletter
Migration source for Newsletter entities in D7.

Namespace

Drupal\simplenews\Plugin\migrate\source\d7

Code

protected function query72() {
  return $this
    ->select('simplenews_newsletter', 'n')
    ->fields('n')
    ->orderBy('newsletter_id');
}