You are here

public function NodeComplete::query in Drupal 9

Same name in this branch
  1. 9 core/modules/node/src/Plugin/migrate/source/d6/NodeComplete.php \Drupal\node\Plugin\migrate\source\d6\NodeComplete::query()
  2. 9 core/modules/node/src/Plugin/migrate/source/d7/NodeComplete.php \Drupal\node\Plugin\migrate\source\d7\NodeComplete::query()
Same name and namespace in other branches
  1. 8 core/modules/node/src/Plugin/migrate/source/d6/NodeComplete.php \Drupal\node\Plugin\migrate\source\d6\NodeComplete::query()

Return value

\Drupal\Core\Database\Query\SelectInterface

Overrides Node::query

File

core/modules/node/src/Plugin/migrate/source/d6/NodeComplete.php, line 28

Class

NodeComplete
Drupal 6 all node revisions source, including translation revisions.

Namespace

Drupal\node\Plugin\migrate\source\d6

Code

public function query() {
  $query = parent::query();
  $query
    ->orderBy('nr.vid');
  return $query;
}