function TestDrupalSqlBase::query

Prepares query object to retrieve data from the source database.

This method should not be called directly. It is called automatically from SqlBase::prepareQuery().

Return value

\Drupal\Core\Database\Query\SelectInterface A Select query object with the source data.

Overrides SqlBase::query

File

core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php, line 204

Class

TestDrupalSqlBase
Extends the DrupalSqlBase abstract class.

Namespace

Drupal\Tests\migrate_drupal\Unit\source

Code

public function query() {
  throw new \RuntimeException(__METHOD__ . " not implemented for " . __CLASS__);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.