You are here

public function LegalAccepted::query in Legal 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/migrate/source/d7/LegalAccepted.php \Drupal\legal\Plugin\migrate\source\d7\LegalAccepted::query()

Return value

\Drupal\Core\Database\Query\SelectInterface

Overrides SqlBase::query

File

src/Plugin/migrate/source/d7/LegalAccepted.php, line 20

Class

LegalAccepted
Drupal 7 source plugin for Legal T&Cs.

Namespace

Drupal\legal\Plugin\migrate\source\d7

Code

public function query() {
  $query = $this
    ->select('legal_accepted', 'a')
    ->fields('a')
    ->orderBy('a.legal_id');
  return $query;
}