You are here

public function NodeComplete::query in Drupal 8

Same name in this branch
  1. 8 core/modules/node/src/Plugin/migrate/source/d6/NodeComplete.php \Drupal\node\Plugin\migrate\source\d6\NodeComplete::query()
  2. 8 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. 9 core/modules/node/src/Plugin/migrate/source/d6/NodeComplete.php \Drupal\node\Plugin\migrate\source\d6\NodeComplete::query()
  2. 10 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 23

Class

NodeComplete
Gets all node revisions from the source, including translation revisions.

Namespace

Drupal\node\Plugin\migrate\source\d6

Code

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