Same name in this branch
  1. 10 core/modules/migrate/src/Plugin/migrate/source/SqlBase.php \Drupal\migrate\Plugin\migrate\source\SqlBase::query()
  2. 10 core/modules/views/src/Plugin/views/pager/SqlBase.php \Drupal\views\Plugin\views\pager\SqlBase::query()
Same name and namespace in other branches
  1. 8.9.x core/modules/migrate/src/Plugin/migrate/source/SqlBase.php \Drupal\migrate\Plugin\migrate\source\SqlBase::query()
  2. 9 core/modules/migrate/src/Plugin/migrate/source/SqlBase.php \Drupal\migrate\Plugin\migrate\source\SqlBase::query()

Return value

\Drupal\Core\Database\Query\SelectInterface

3 calls to SqlBase::query()
SqlBase::doCount in core/modules/migrate/src/Plugin/migrate/source/SqlBase.php
Gets the source count using countQuery().
SqlBase::prepareQuery in core/modules/migrate/src/Plugin/migrate/source/SqlBase.php
Adds tags and metadata to the query.
SqlBase::__toString in core/modules/migrate/src/Plugin/migrate/source/SqlBase.php
Prints the query string when the object is used as a string.
80 methods override SqlBase::query()
Action::query in core/modules/system/src/Plugin/migrate/source/Action.php
Block::query in core/modules/block/src/Plugin/migrate/source/Block.php
BlockCustom::query in core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustom.php
BlockCustomTranslation::query in core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustomTranslation.php
BlockedIps::query in core/modules/ban/src/Plugin/migrate/source/d7/BlockedIps.php

... See full list

File

core/modules/migrate/src/Plugin/migrate/source/SqlBase.php, line 388

Class

SqlBase
Sources whose data may be fetched via a database connection.

Namespace

Drupal\migrate\Plugin\migrate\source

Code

public abstract function query();