function SqlBase::query
Same name in this branch
- 11.x core/modules/views/src/Plugin/views/pager/SqlBase.php \Drupal\views\Plugin\views\pager\SqlBase::query()
Same name in other branches
- 9 core/modules/views/src/Plugin/views/pager/SqlBase.php \Drupal\views\Plugin\views\pager\SqlBase::query()
- 9 core/modules/migrate/src/Plugin/migrate/source/SqlBase.php \Drupal\migrate\Plugin\migrate\source\SqlBase::query()
- 8.9.x core/modules/views/src/Plugin/views/pager/SqlBase.php \Drupal\views\Plugin\views\pager\SqlBase::query()
- 8.9.x core/modules/migrate/src/Plugin/migrate/source/SqlBase.php \Drupal\migrate\Plugin\migrate\source\SqlBase::query()
- 10 core/modules/views/src/Plugin/views/pager/SqlBase.php \Drupal\views\Plugin\views\pager\SqlBase::query()
- 10 core/modules/migrate/src/Plugin/migrate/source/SqlBase.php \Drupal\migrate\Plugin\migrate\source\SqlBase::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.
1 call to SqlBase::query()
- SqlBase::prepareQuery in core/
modules/ migrate/ src/ Plugin/ migrate/ source/ SqlBase.php - Adds tags and metadata to the query.
82 methods override SqlBase::query()
- Action::query in core/
modules/ system/ src/ Plugin/ migrate/ source/ Action.php - Prepares query object to retrieve data from the source database.
- Block::query in core/
modules/ block/ src/ Plugin/ migrate/ source/ Block.php - Prepares query object to retrieve data from the source database.
- BlockCustom::query in core/
modules/ block_content/ src/ Plugin/ migrate/ source/ d7/ BlockCustom.php - Prepares query object to retrieve data from the source database.
- BlockCustomTranslation::query in core/
modules/ block_content/ src/ Plugin/ migrate/ source/ d7/ BlockCustomTranslation.php - Prepares query object to retrieve data from the source database.
- BlockedIps::query in core/
modules/ ban/ src/ Plugin/ migrate/ source/ d7/ BlockedIps.php - Prepares query object to retrieve data from the source database.
File
-
core/
modules/ migrate/ src/ Plugin/ migrate/ source/ SqlBase.php, line 394
Class
- SqlBase
- Sources whose data may be fetched via a database connection.
Namespace
Drupal\migrate\Plugin\migrate\sourceCode
public abstract function query();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.